1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

how to solve Plesk11 new password system issues

Discussion in 'Plesk 11.x for Linux' started by Samtwer, Nov 25, 2012.

  1. Samtwer

    Samtwer New Pleskian

    Nov 25, 2012
    Likes Received:
    In earlier versions of Plesk, the admin password was stored as clear-text in a file in /etc/psa. They finally fixed that hole, and the password is stored encrypted. This is a very good thing. In any scripts (like database backup scripts) that need to use that password for access to mysql, where in the old days you would have:
    `cat /etc/psa/.psa.shadow`
    You now can replace that with:
    `/usr/local/psa/bin/admin --show-password`

    Fine, this all sounds good. However I've run into a strange issue: the admin password stored
    by the system and revealed through this command doesn't work with mysql directly.
    Last edited by a moderator: Dec 2, 2012