• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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