Return to Snippet

Revision: 19633
at October 27, 2009 14:09 by tobewan


Initial Code
echo "SELECT CONCAT_WS('@',mail.mail_name,domains.name),accounts.password
    FROM domains,mail,accounts
    WHERE domains.id=mail.dom_id AND accounts.id=mail.account_id
    ORDER BY domains.name ASC,mail.mail_name ASC;" | mysql -uadmin -p`cat /etc/psa/.psa.shadow` -Dpsa -t

Initial URL

                                

Initial Description

                                

Initial Title
Get Domain passwords w/o logging into MySQL

Initial Tags
server

Initial Language
Bash