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.
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 newpass
[[email protected] bin]# ./ch_admin_passwd
[[email protected] bin]# export PSA_PASSWORD=
[[email protected] bin]# cat /etc/psa/.psa.shadow
[[email protected] bin]#
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.
Powered by BetterDocs
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.