Command Line Password change

goibay

Registered
Nov 27, 2006
1
0
151
Hello,

I recently have had a server setup with CPanel/WHM installed and was unable to access the root login via the account manager. I clicked the reset password button and think the email may have been dropped as the address is probably not yet setup. Is there a way to change passwords from the command line on the backend?

I'm running Centos and have root access to the machine.

Thanks for any help!