[pgsql-jp: 31108] Re: cryptの認証について
e-ueda @ aqunet.info
e-ueda @ aqunet.info
2003年 9月 22日 (月) 21:49:22 JST
e-uedaといいます。
泉田隼人 <hayato @ po1.dti2.ne.jp>さん曰く:
|
| passwordに変更してみたのですが、
| 相変わらずパスワード認証をしてくれません。
|
| 何か根本的な所で失敗をしているのかも???
| pg_hba.conf以外に何か設定をしている所は
| あるでしょうか???
私は alter userコマンドにてパスワードを設定し、
Method は password で運用しています。
例)
# alter user user_name with password 'xxxxxxx';
crypt にするには、postgres ユーザーにて下記のように設定する必要が
あります。(手元のサーバーで試したら問題なくできました)
例)
# update pg_shadow set passwd='xxxxxxx' where usename='user_name';
もしできない場合は、postmaster を再起動したか、pg_hba.confのサンプル
で記述してあるコメント行の # がとれていて邪魔してないかご確認を。
お役に立たなかったらすみません。
================================
Eiichi Ueda
http://www.aqunet.info/debian/
pgsql-jp メーリングリストの案内