Passwords are very case sensitive and most of the times it happens that users forgets important passwords. Here in this tutorial we are going to show how to reset plesk root password using shell and command prompt.
Reset Plesk Root Password with Shell : Plesk Linux
This can be done using the “ch_admin_passwd” binary.
[[email protected] root]# cd /usr/local/psa/admin/bin/
[[email protected] bin]# ./ch_admin_passwd —help
./ch_admin_passwd: Utility to set Plesk adminstrator’s password
Gets password from the environment variable PSA_PASSWORD
Password should be from 5 to 16 symbols and must not contain login name, whitespace, quotes or national characters
[[email protected] bin]# export PSA_PASSWORD=’newpass’
[[email protected] bin]# echo $PSA_PASSWORD
[[email protected] bin]# ./ch_admin_passwd
[[email protected] bin]# export PSA_PASSWORD=
[[email protected] bin]# cat /etc/psa/.psa.shadow
[[email protected] bin]#
Reset Plesk Admin Password Using Command Prompt: Plesk Windows
Plesk Windows Root Password can also be retrieved and reset with the help of the plesksrvclient binary located in the %plesk_bin% directory.
Open your Windows Command Prompt and type the following command and hit the Enter button:
It will enter in to the directory where the Plesk’s Bin folder is located.
In order to get the existing root password, enter:
It will show the existing password on a popup window. To copy it on clipboard click the Ok button.
To set a new password, enter above command without “-get”:
It will enable you to insert a new desired password for your Plesk Admin login.
Like this post?
Share on your Social Networking Profile ( Facebook, Twitter & Google+ ) and get a flat 10% Recurring discount on our VPS Hosting and Dedicated Servers.
Email us the shared link at : [email protected] or speak to our live chat operator now, by clicking on the “Live Chat” Scroller on the left-hand side of this page and we will provide you with the discount Coupon right away!