Howto reset Admin account locked out of Plesk Control Panel

ht‮w//:spt‬ww.lautturi.com
Howto reset Admin account locked out of Plesk Control Panel

If you have locked yourself out of the Plesk control panel due to too many failed login attempts, you can reset the admin account by following these steps:

  1. Connect to the server via SSH as the root user.
  2. Run the following command to reset the admin password:
/usr/local/psa/bin/admin --set-password -passwd NewPassword
  1. Replace "NewPassword" with the new password you want to set for the admin account.
  2. You should now be able to log in to the Plesk control panel with the new password.

Alternatively, if you do not have access to the server via SSH, you may need to reset the password through the database. To do this, you will need to connect to the database and update the psa.accounts table. You can use a tool such as PHPMyAdmin or the MySQL command line client to do this.

  1. Connect to the database using PHPMyAdmin or the MySQL command line client.
  2. Run the following SQL command to reset the admin password:
UPDATE psa.accounts SET password='NewPassword' WHERE id=1;
  1. Replace "NewPassword" with the new password you want to set for the admin account.
  2. Flush the privileges and exit the database.
  3. You should now be able to log in to the Plesk control panel with the new password.

It is important to note that these steps are for resetting the password for the admin account in Plesk. If you have locked out a different user account, you will need to use a different method to reset the password. You can refer to the Plesk documentation or contact the Plesk support team for more information on resetting passwords for different user accounts.

Created Time:2017-10-29 22:08:46  Author:lautturi