Windows
In case you forget the Plesk control panel’s ‘admin’ password, then you have no other choice but to reset the password by logging into the remote server..
As the reset ‘Administrator’ password option [which in fact is for the admin user] is only available through logging into the Plesk control panel interface.
You can use the plesksrvclient.exe utility located in %plesk_bin% folder to either set up a new password or retrieve an existing one, follow these steps:
To obtain the current ‘admin’ password,execute this command in command prompt:
“%plesk_bin%\plesksrvclient” -get |
To retrieve the password in command line you can also use the -nogui option [in case you are in CLI mode]:
“%plesk_bin%\plesksrvclient” -get -nogui > c:\plesk_passwd.txt |
After that you can view the retrieved Plesk password in c:\plesk_passwd.txt file.
To set a new admin passwordexecute the following command in command prompt:
“%plesk_bin%\plesksrvclient” -set <new_password> true |
Linux
To Recover Your Parallels Plesk Panel Password on a Linux Server
- Using SSH, log in to your server with the User ID and Password that you created when you set up your dedicated hosting account.
- At the command line, type
su -
. - For your password, use the same password that you use with your User ID.
- Enter the following command:
cat /etc/psa/.psa.shadow
This file contains your admin Parallels Plesk Panel password.
Parallels Plesk Panel 10.2, however, encrypts this file. To view the encrypted file, use the following command:
Use ${PRODUCT_ROOT_D}/bin/admin utility to prompt the password for user “admin”:
# /usr/local/psa/bin//init_conf -u -passwd <new_password>
This does not affect MySQL Command Line Interface’s access to the /etc/psa/.psa.shadow
file.
Hope that helps those, who find themselves in a fix after losing their Plesk’s Admin login