MilesWeb Hosting Forum

Web Hosting Technical Support => How To's => Topic started by: Dipak Bhoi on January 08, 2015, 03:18:46 PM

Title: How to reset cPanel account password from command line/SSH?
Post by: Dipak Bhoi on January 08, 2015, 03:18:46 PM
Hello Guys,

If you are not able to reset cPanel account password from WHM due to any issue like as license issue then cPanel password for a particular account can be reset from shell with root access. Follow below command to reset password:

Quote#/scripts/chpass username password

where

username : cPanel account username

password : new password you wish to set

Now you need to synchronize the new password with the default FTP user, fire below command:

Quote#/scripts/ftpupdate

That's all, Enjoy!!