How to change cPanel password from command line

cpanel logoIf you do not have access to WHM then the cPanel password for a particular account can be updated from shell.

The following steps should help you to change  / reset / update cPanel password of particular account from shell

 

 

 

1) Access the server as a root user through SSH

2) Execute following command

# /scripts/chpass username password

where

username : cPanel account username

password : new password you wish to set

Note: password should not contain special characters

3) Synchronize the new password with the default FTP user

# /scripts/ftpupdate

 If any feedback, queries are always welcome!


About Abhijit Sandhan

Abhijit Sandhan
Loves Linux, Blogging, Traveling, Hiking and sharing the knowledge!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

CAPTCHA Image

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>