Applicable to:
- Plesk for Linux
- Plesk for Windows
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
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.
-
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:# export PSA_PASSWORD=your_new_password && plesk bin admin --set-admin-password -passwd "$PSA_PASSWORD"
Note: Password should not contain quotes, spaces, national characters or exclamation signs.
Comments
5 comments
Hi,
I am unable to Log into Plesk using the link. I am getting this error. Now,everyone is asking me to use SSH for this. How to do that? For last 4 hours, I am searching. Please help.
ผมก็เข้าไม่ได้ เเก้ยังไงครับ
What worked for me (Red Hat 9) was
>sudo plesk bin admin --set-admin-password -passwd "<your_new_password>"
The password cannot have exclamation mark (!) in it.
Hello,
As of 18.0.60, this works with exclamation sign.
Normally - quotes, spaces or non-ascii printable characters are not accepted.
new sintaxe to change passoword:
plesk bin admin --set-password -passwd <new_password>'
Please sign in to leave a comment.