Routing the world

Routing & IT System Administration

Archive for July 2011

Plesk Linux Email Accounts Password Reveal

with one comment

A lot of times, many Plesk email users get his passwords lost.

They call to support services of the hosting provider requesting it. You can access the database to see the password what is a very tedious process.

Fortunately Parallels has implemented a command to see all passwords for all users in all domains:

/usr/local/psa/admin/bin/mail_auth_view

You can filter the output to see one account password (quotes must exist):

/usr/local/psa/admin/bin/mail_auth_view | grep "johnsmith@domain.tld"

Also you could get statistical information about how many email accounts supports your server:

/usr/local/psa/admin/bin/mail_auth_view | wc -l

As the result you get the total amount of email accounts in you server for all the domains, of course, you could filter by domain:

/usr/local/psa/admin/bin/mail_auth_view | grep "domain.tld" | wc -l

And all the variations you can imagine.

Advertisements

Written by Root

July 20, 2011 at 08:51

Posted in Linux, Plesk

Tagged with

%d bloggers like this: