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

Follow

Comments

16 comments

  • 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

    0
    Comment actions Permalink
  • 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.

    0
    Comment actions Permalink
  • Avatar
    Gaurav Sharma (Edited )

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

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    @Gaurav Sharma

    Hello!

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

    Also, consider contacting Plesk Technical Support.

    -1
    Comment actions Permalink
  • Avatar
    markusk

     

    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?

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    @markusk

    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.

    0
    Comment actions Permalink
  • Avatar
    sophiasophos

    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.

    0
    Comment actions Permalink
  • Avatar
    Artyom Baranov

    @sophiasophos,

    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.

    0
    Comment actions Permalink
  • 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

    Now, 

    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?

    0
    Comment actions Permalink
  • Avatar
    Alexandr Redikultsev

    Hi @Cesc,


    Use the solution from the following article in order to bring Plesk back online: https://support.plesk.com/hc/en-us/articles/213364309

    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

    0
    Comment actions Permalink
  • 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.. ...select the public or the local link...then, press together ctrl + shift + c to copy it....open a browser..paste it on the browser..you will be automatically login on your admin..you can just change the admin password from there.....

    0
    Comment actions Permalink
  • Avatar
    Alisa Kasyanova

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

    0
    Comment actions Permalink
  • 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

    0
    Comment actions Permalink
  • Avatar
    Alisa Kasyanova

    @Ralf Göldner
    You may temporarily disable two-factor authenticator (https://support.plesk.com/hc/en-us/articles/360007370333-How-to-disable-Google-Authenticator-for-Plesk-via-a-command-line-interface) before getting the password.

    0
    Comment actions Permalink
  • Avatar
    angiliona

    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.

     

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello @angiliona,

    Glad to hear that the article helped.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request