How to change a cPanel account password using WHM
Log in to WHM as the root user and navigate to the following location:
"Home » Account Functions » Password Modification"
Select the account whose password you are changing.
Enter a new password in the "New Password" box and the "Confirm Password" box, or alternatively use the "Generate" button to get a random password.
Click the "Change Password" button.