Many a times we need to change cPanel password for a user. The easy, faster and effective way is through command line. You can directly change cPanel password through command line too. For this you should have root access for SSH.
To change cPanel password through command line :
1). First login to SSH as root.
2). You have to run the below given command to change cPanel password :
To change cPanel password through command line :
1). First login to SSH as root.
2). You have to run the below given command to change cPanel password :
You might get this error :
if you get this error, then run this command and follow the procedure again.
3). Now, if you want to synchronize the FTP password too then run this command :