How to reset cPanel account password from command line/SSH?

Started by Dipak Bhoi, January 08, 2015, 03:18:46 PM

Previous topic - Next topic

Dipak Bhoi

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!!
MilesWeb - 30-Day Money Back
cPanel Web Hosting - cPanel Hosting in India
Grab a Free SSL for your website.  WordPress Optimized Solution.