• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

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