Web Designing, Web Development, Website Design, Website Development, SEO
Home
Services
Web Design
Web Development
SEO
Products
Portfolio
Testimonials
Team
Blog
0091 98233 72069
COGS
: 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:
export ALLOW_PASSWORD_CHANGE=1
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.