出つくしていくるんだろうけど、メモ 環境: ubuntu14ぐらい postgres9.3 現象:postgresでない自分のUNIXユーザーでログインしたシェルから、psqlを実行する際、postgresql上のユーザーの正しいパスワードを入力してもログインできない こんな感じ hoge@ubuntu:~$ psql -U postgres -h localhost -W Password for user postgres: psql: FATAL: password authentication failed for user "postgres" hogeがUNIXグループpostgresには参加済みでもこうなる。 問題はLinuxの仕組みではなくpostgresの認証の仕組みが関係していた。 postgresユーザー名とパスワードを指定してもローカルからのアクセスはUNIXユーザ