• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved SOS: .psa.shadow empty

JuanCar

Regular Pleskian
Hi
I've empty by accident the /etc/.psa.shadow file and I cant access Plesk
I know this file contains the encrypted admin password and I need to know how recreate it.
I know the password of admin and I can access SSH as root.
Ah! I can not access mysql using this admin accoiunt from console.
Any help?
 
Hi
I've empty by accident the /etc/.psa.shadow file and I cant access Plesk
I know this file contains the encrypted admin password and I need to know how recreate it.
I know the password of admin and I can access SSH as root.
Ah! I can not access mysql using this admin accoiunt from console.
Any help?
Reset admin password through plesk?

Sent from my SM-G930F using Tapatalk
 
Hi
I've empty by accident the /etc/.psa.shadow file and I cant access Plesk
I know this file contains the encrypted admin password and I need to know how recreate it.
I know the password of admin and I can access SSH as root.
Ah! I can not access mysql using this admin accoiunt from console.
Any help?
You migh be able to get in the database using: plesk db

How to access Plesk database?

Sent from my SM-G930F using Tapatalk
 
Thanks but:
I cant access Plesk so I can use this way to reset password.
I cant access database so "Plesk db" returns in an access error

I know my password, I think the easiest way is recreate .psa.shadow, using my password (that must be saved in psa database) but I don't know how is encripted (AES 128 but need more info).
Thabks again
 
What about

# export PSA_PASSWORD='XXXXXX'
# /usr/local/psa/admin/bin/ch_admin_passwd

?
 
I think this method was for older Plesk,, anywhere what I get is:
MySQL rc script was not found

Thanks
 
Back
Top