Thứ Ba, 15 tháng 4, 2014

[PLESK] How to retrieve Plesk admin password on Windows

How to retrieve Plesk admin password on Windows


Resolution

Plesk 12.5

Apart from the password reminder available on the login screen, you can use the plesksrvclient.exe utility located in the %plesk_bin% folder to set up a new password or retrieve the old one.

You can set up a new password by running the following command:
"%plesk_bin%\plesksrvclient" -set true

You can also retrieve the current password by running this utility with the following command:
"%plesk_bin%\plesksrvclient" -get

To retrieve the password in the command line, you can use the "-nogui" option:
"%plesk_bin%\plesksrvclient" -get -nogui > plesk_password.txt

After that, you can find the retrieved Plesk password in the plesk_password.txt file.

https://support.plesk.com/hc/en-us/articles/213410689


Plesk 17.8

Password Admin Plesk

plesk bin admin --set-admin-password -passwd "your_new_password"

Retrieve administrator's Plesk database password on Plesk 17.8 for Windows

In Plesk 17.8 included "plesk sbin psadb" utility for operate with admin DB password. To use it connect to the server via RDP and open cmd.exe as Administrator

plesk sbin psadb --help
Usage: psadb [OPTIONS]...
-g, --get-admin-password show the Plesk system databases Admin's password in console.
-c, --copy-admin-password copy the Plesk system databases Admin's password to clipboard.
-s, --set-admin-password --password=<new password> set the new Plesk system databases Admin's password in the database
and update it in Plesk.
-u, --update-admin-password --password=<new password> update the Plesk system databases Admin's password in Plesk only.
-h, --help display this help and exit

To reach administrator's password for Plesk database execute the following:

plesk sbin psadb --get-admin-password

Không có nhận xét nào: