Routing the world

Routing & IT System Administration

Retrieve Plesk FTP Password

leave a comment »

The Plesk FTP passwords for FTP users accounts for each domain are stored in the “psa” database.

To retrieve this passwords you can use this command:

mysql -uadmin -p`cat /etc/psa/.psa.shadow` -e "use psa; select accounts.password from accounts INNER JOIN sys_users ON accounts.id=sys_users.account_id WHERE sys_users.login='xxxx';"

You have to change the “xxxx” for the username you need to retrieve the password.

Advertisements

Written by Root

January 16, 2012 at 23:12

Posted in Linux, Plesk

Tagged with , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: