#author("2017-01-11T01:18:17+09:00","Group2","Group2")
[[hidekiwiki]]

#html{{
<meta name="description" content="http://fukumoto-tech.serveblog.net/wiki/" /> 
<meta name="keywords" content="普通人間製作所,world fukumoto-tech ,fukumototech,普通人間,Plesk,plesk,パスワード,メールアカウント,再発行,わからない,確認,方法,MySQL,ssh,全パスワード,手順" /> 
<link rel="canonical" href="http://fukumoto-tech.serveblog.net/wiki/" />
<br>
<a href="http://it.blogmura.com/linux/"><img src="http://it.blogmura.com/linux/img/linux80_15_darkgray_1.gif" width="80" height="15" border="0" alt="にほんブログ村 IT技術ブログ Linuxへ" /></a><br /><a href="http://it.blogmura.com/linux/">にほんブログ村</a>
<!-- admax -->
<script src="http://adm.shinobi.jp/s/1a0429ab1f292195e9a461469817a0ca"></script>
<!-- admax -->
</html>
}}

*Plesk上で作成したメールアカウントのパスワードを確認する方法 [#fd7536c9]

PleskサーバへSSH接続を行う。

1.MySQLにログイン
 mysql -u admin -p`cat /etc/psa/.psa.shadow`

2.Pleskのデータベースを選択
 use psa;

3.以下クエリを実行

 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;

**実行結果の例 [#xaabe62c]

 +--------------------------------------------+-------------+
 | CONCAT_WS('@',mail.mail_name,domains.name) | password    |
 +--------------------------------------------+-------------+
 | [email protected]                              | 伏字        |
 | [email protected]                   | 伏字     |
 | [email protected]                             | 伏字        |
 | [email protected]                         | 伏字        |
 | [email protected]                             | 伏字        |
 +--------------------------------------------+-------------+
 5 rows in set (0.00 sec)

左側が、メールアドレス名で、右側がパスワード文字列です


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS