How to get/reset lost Plesk Administrator password in Plesk for Linux




  • Avatar
    Noam Harel

    plesk 12.5-

    when i do:

    plesk bin admin --show-password

    i get:

    Due to security reasons the option '-show-password' is no longer supported. Use '--get-login-link' to generate a one-time login link


    you should update your article

  • Avatar
    Pavel Mikhaylov

    Hello Noam,

    This message is displayed starting Plesk Onyx. In Plesk 12.5 option --show-password works as intended.

    If you are sure that version of your Plesk is 12.5 and you have this message, please contact our technical support for further investigation.

  • Avatar
    Gaurav Sharma (Edited )

    Actually I have successfully reset my password via ssh, but still I can't login.. why???

  • Avatar
    Ivan Postnikov

    @Gaurav Sharma


    The issue may be caused by different reasons. Use this article to troubleshoot.

    Also, consider contacting Plesk Technical Support.

  • Avatar


    this implies to be valid for 'the Plesk "admin" user' only - but what if i have multiple users with administrator role?


    does this also cause the effect that trying to use the "forgotten password" link at login returns:
    "Error: Identification failed: invalid username or email address specified. Please try again."?


    so administrator users can't reset their password at all anymore without being given ssh-access?

  • Avatar
    Ivan Postnikov


    Indeed this article is applicable to build-in admin only.

    However, in case there is a server access for built-in admin, to reset the password to additional, go to Tools & Settings > Additional Administrator Accounts > <Account Name> and set a new password.

    As for the error "Error: Identification failed: invalid username or email address specified. Please try again.", it is a known Plesk bug, you may find the description and workaround here.

  • Avatar

    It is really very needed guidance for the online buyers regarding the best quality provider as well as leading brands of Antivirus softwares which all are really very productive tio secure the system from each and every external attacker.

  • Avatar
    Artyom Baranov


    Hi! There is a list of Plesk partners that provide hosting services you may choose from.

    As for the antiviruses, Plesk provides its own set of security options and it is a server's administrator's choice which antivirus software to use according to his/her own preferences.

  • Avatar
    Cesc (Edited )

    There's nothing to do when plesk can´t connect to mysql

    I've had to change mysql admin password to connect mysql and phpmyadmin because script to autoinstall has the same error to connect


    we have the same

    /usr/local/psa/bin# /usr/local/psa/bin/sw-engine-pleskrun plesk_password_changer.php `cat /etc/psa/.psa.shadow`
    [2018-12-18 08:22:23][FATAL_ERROR] [MYSQL ERROR] Given <password> is incorrect. Access denied for user 'admin'@'localhost' (using password: YES)

    /usr/local/psa/bin# /usr/local/psa/bin/init_conf -u -passwd
    [2018-12-18 20:35:38.212] ERR [panel] Cannot load settings: SQLSTATE[HY000] [1045] Access denied for user 'admin'@'localhost' (using password: YES)

    How can I do?

  • Avatar
    Alexandr Redikultsev

    Hi @Cesc,

    Use the solution from the following article in order to bring Plesk back online:

    it will sync the password to the old one. note that in case it is required to connect via admin user via some external utility, it is possible to just use hash from /etc/psa/.psa.shadow as a plain text, it should work

  • Avatar
    New Ancestor (Edited )

    The best way to reset the password is to login to the server root and enter the following command: plesk bin admin --get-login-link      it will generate a two  links.. the public or the local link...then, press together ctrl + shift + c to copy a browser..paste it on the will be automatically login on your can just change the admin password from there.....

  • Avatar
    Alisa Kasyanova

    @New Ancestor
    You are right, this method is described in the article :)

  • Avatar
    Ralf Göldner

    Getting the password did not work in Plesk Onyx if Two Factor Authentcator is activated.

    @Kuzma Ivanov maybe it's a good idea to update this post or provide a workaround/solution

  • Avatar
    Alisa Kasyanova

    @Ralf Göldner
    You may temporarily disable two-factor authenticator ( before getting the password.

  • Avatar

    This post is really good I also want a solution on How to rest lost Plesk Administrator password in Plesk for Linux windows defender error 577 but after reading this post I get an idea of how to solve it.


  • Avatar
    Ivan Postnikov

    Hello @angiliona,

    Glad to hear that the article helped.

Please sign in to leave a comment.

Have more questions? Submit a request