How to change cPanel password through command line?

Discussions related with hosting control panels used, which include cPanel, Plesk, Directadmin etc..

Moderator: Staff

Post Reply
arunpa
Posts: 0
Joined: Thu Mar 31, 2016 8:41 am

How to change cPanel password through command line?

Post by arunpa »

Hello, Good Evening,

I have one doubt. How can I change my cPanel account password through command line? I know its a simple question, but I really don't how to do that through CLI.


Nadal N
Posts: 0
Joined: Mon Apr 23, 2018 7:54 am

Re: How to change cPanel password through command line?

Post by Nadal N »

Hello Arunpa,

Yes, it is an easy one as you said. You can reset cPanel password by executing the following commands.

#/scripts/chpass username passwd

Then update ftp also

#/scripts/ftpupdate

Nadal N
Linux Support Engineer.
Nixtree Solutions
Managed Full Server Backups
https://www.nixtree.com/managed-backups.php
Follow us on : https://twitter.com/nixtree


arunpa
Posts: 0
Joined: Thu Mar 31, 2016 8:41 am

Re: How to change cPanel password through command line?

Post by arunpa »

Thanks.


If you are looking for assistance in server management, please get in touch with our support.
Post Reply