How to get or reset password for admin account in Plesk

Refers to:

  • Plesk for Linux

Created:

2016-11-16 12:56:42 UTC

Modified:

2017-03-22 12:57:38 UTC

13

Was this article helpful?


Have more questions?

Submit a request

How to get or reset password for admin account in Plesk

Symptoms

The password for the admin user in Plesk has been lost.

Resolution

For Plesk Onyx
To improve security, the ability to retrieve the Plesk administrator password was removed in Plesk Onyx. Instead, run the plesk login command in the command line to generate a temporary token link.

To update the admin password, please visit this documentation page

For Plesk versions 10.x-12.x :

Use the ${PRODUCT_ROOT_D}/bin/admin utility to prompt the password for the "admin" user:

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

Use ${PRODUCT_ROOT_D}/bin/init_conf to reset the password for the "admin" user:

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

If the init_conf utility cannot connect to the Plesk database, follow the steps from article #213364309 "Cannot log into Plesk due to incorrect admin password" to reset the Plesk database 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

This authenticates the "admin" user by trying to authorize access to the Plesk database using the password provided.

Additional information

How to retrieve the Plesk admin password on Windows

Have more questions? Submit a request
Please sign in to leave a comment.