Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

No cookies to display.

ndzlogo-1-1
50%
Loading ...

INDIA – HEADQUARTERS

INDIA

UNITED STATES

CANADA

Steps to find email accounts password:

♦ Login to the linux server via SSH.

♦ Login to Mysql prompt using the command the given below.

mysql -u admin -p`cat /etc/psa/.psa.shadow`

~~~~
-bash-3.2# mysql -u admin -p`cat /etc/psa/.psa.shadow`
Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 2338614
Server version: 5.0.77 Source distribution

Type ‘help;’ or ‘h’ for help. Type ‘c’ to clear the buffer.

mysql> use psa;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql>
~~~~

♣ Switch to psa database.

~~~
mysql> use psa;
Database changed
mysql>
~~~

♣ Now execute the following query to retrieve all the email accounts password in a domain.

~~~~
SELECT accounts.id, mail.mail_name, accounts.password, domains.name, domains.id, mail.dom_id, mail.account_id FROM domains, mail, accounts Where domains.id = mail.dom_id and mail.account_id = accounts.id and domains.name =’DOMAIN_NAME’;
~~~~

Where DOMAIN_NAME should be replaced by the actual domain name for which you need to find the password.

EXAMPLE:
*********

====
mysql> SELECT accounts.id, mail.mail_name, accounts.password, domains.name, domains.id, mail.dom_id, mail.account_id FROM domains, mail, accounts Where domains.id = mail.dom_id and mail.account_id = accounts.id and domains.name =’example.com’;
+—–+———–+———-+—————-+—-+——–+————+
| id | mail_name | password | name | id | dom_id | account_id |
+—–+———–+———-+—————-+—-+——–+————+
| 238 | mail1 | passwd1 | example.com | 50 | 50 | 238 |
| 239 | mail2 | passwd2 | example.com | 50 | 50 | 239 |
| 240 | mail3 | passwd3 | example.com | 50 | 50 | 240 |
| 241 | mail4 | passwd4 | example.com | 50 | 50 | 241 |
| 242 | mail5 | passwd5 | example.com | 50 | 50 | 242 |
+—–+———–+———-+—————-+—-+——–+————+
5 rows in set (0.00 sec)
====