Password for the admin account in Plesk

Plesk for Linux/Unix:

If the password for the “admin” user in Plesk has been lost.

For Plesk versions 10.x and above:

For the “admin” user use the following:

/usr/local/psa/bin/admin --show-password

If you need to change the password use the following:

/usr/local/psa/bin/init_conf -u -passwd <new_password>

For Plesk versions up to 9.x:

The Plesk admin password is stored in a hidden file on the server. Use this command to get it:

cat /etc/psa/.psa.shadow

 

Plesk for Windows:

As well as the the password reminder option available on the Plesk login screen, you can use theplesksrvclient.exe utility to set up a new password or retrieve an existing one.

You can set up a new password by running the following command:

"%plesk_bin%\plesksrvclient" -set <new_password>

You can also retrieve the current password by running the utility with the following command:

"%plesk_bin%\plesksrvclient" -get

To retrieve the password in the command line, 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.

To view the password in the command line:

"%plesk_bin%\plesksrvclient" -get  -nogui | more
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s