Web Designing, Web Development, Website Design, Website Development, SEO
0091 98233 72069
: CUSTOMISED, OPTIMISED, GENERALISED WEB DESIGN & WEB DEVELOPMENT SOLUTIONS
Reset cPanel Account Passwords from Command Line
Log into your server via SSH Terminal as the root user.
ssh root@<yourserversip> -p 2200
You’ll need to enable the allow password change option, by exporting it. Type or copy and paste the following command:
Then run the cPanel chpass script with the cPanel account name and new password:
/scripts/chpass username newpassword
username is the cPanel account name and newpassword is the new password being assigned.
Remember to use a secure, randomly generated password.
You’ll see a ‘warning’ and confirmation of the password change.
warn [realchpass] Insecure passing of password on ARGV. Password for “username” has been changed.