The following command may be used to set or change a password via SSH access:
Originally Posted by reverbstudios
For usage information please reference the official manual "man" page and help information by using the following commands:
To help diagnose and troubleshoot the difficulty, please let us know the following information, (numbered for clarity):
# man passwd
# passwd --help
1.) What is the full cPanel version and build number of the system where there is difficulty changing the root password?
2.) Was root access to WHM used to attempt the password change or was a different method used?
3.) What testing method and steps were used to determine if the password change was successful or if it failed?
To obtain the full cPanel version and build number may be obtained using the following command via SSH access:
# cat /usr/local/cpanel/version && echo