Question
The password of the Plesk "admin" user is lost. How to get/reset it?
Answer
Note: For security reasons, it is not possible to reset the Plesk 'admin' user password on the Plesk login page using the Forgot your password? option. Use one of the solutions below
Logging in to Plesk without the password
Use a one-time login link to log in to Plesk without a password.
To generate the one-time login link:
-
Additional step for Plesk for Windows: start the Command Prompt as Administrator.
-
Run the following command to generate two links: one - to access Plesk by its hostname, another - by server IP address:
# plesk login
Note: If a server hostname is not resolvable from the Internet, hostname link will not be generated.
-
Copy the generated link and open it in a web browser.
Resetting Plesk 'admin' password
-
Additional step for Plesk for Windows: start the Command Prompt as Administrator.
-
Run the command below replacing
<your_new_password>
with your new password of choice and keeping" "
on the sides:# set PSA_PASSWORD=new_password && plesk bin admin --set-admin-password -passwd "<your_new_password>"
Note: Password should not contain quotes, spaces or national characters