localhost 접속과 10.10.10.x 대역으로 부터의 모든 접속은 반드시 패스워드를
입력해야 접속가능하도록 세팅되어 있는 상태입니다.
[postgres@olmaster:~/9.2/data]$ cat pg_hba.conf
.........
# "local" is for Unix domain socket connections only
#local all all peer
local all all md5
# IPv4 local connections:
host all all 127.0.0.1/32 md5
host all all 10.10.10.0/24 md5
# IPv6 local connections:
host all all ::1/128 ident
# Allow replication connections from localhost, by a user with the
# replication privilege.
#local replication postgres peer
#host replication postgres 127.0.0.1/32 ident
#host replication postgres ::1/128 ident
[postgres@olmaster:~/9.2/data]$
md5 대신에 trust 를 지정하면 데이터베이스 접속시에 패스워드를 묻지 않습니다.
테스트용도 외에는 절대 그렇게 세팅하면 안되겠죠.