Retrieving Parallels Plesk Panel Passwords from MySQL
Some of the information in this article is advanced material we make available as a courtesy. Please be advised that you are responsible for properly following the procedures below. Customer Support cannot assist with these topics.
If you have multiple users on one Parallels Plesk Panel account and need to FTP content without editing the FTP password, you can retrieve the password from MySQL.
To Retrieve a Parallels Plesk Panel Password From MySQL
- Log in as root in SSH.
- Type
mysql -uadmin -p`cat /etc/psa/.psa.shadow`
, and then press Enter. - Type
use psa;
, and then press Enter. - Type
select * from sys_users;
, and then press Enter. - Type
select * from accounts;
, and then press Enter.
A table displays that shows the id, type, and password for all users in Parallels Plesk Panel.
For Parallels Plesk Panel versions 10.x and above:
Use ${PRODUCT_ROOT_D}/bin/admin utility to prompt the password for user "admin":
# /usr/local/psa/bin/admin --show-password
For Parallels Plesk Panel versions up to 9.x:
The Parallels Plesk Panel admin password is stored in a hidden file on the server. Use this command to get it:
# cat /etc/psa/.psa.shadow
http://kb.parallels.com/en/346