psql: FATAL: Ident authentication failed for user "postgres" - Mailing list pgsql-general

From Dan Joo
Subject psql: FATAL: Ident authentication failed for user "postgres"
Date
Msg-id 4676DF8318F32F4AB7E98BCD9BC90628E86168@agq-ex01.agraquest.int
Whole thread Raw
Responses Re: psql: FATAL: Ident authentication failed for user "postgres"  (Chris <dmagick@gmail.com>)
List pgsql-general

Hi everyone,

 

I am having problems logging into psql as a non-‘postgres’ user.

 

/home/djoo[5:38pm]$ %psql kermit -U postgres

psql: FATAL:  Ident authentication failed for user "postgres"

 

Below is a portion of the pg_hba.conf file, which I believe is configured so that a password is not required.

# TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD

 

# "local" is for Unix domain socket connections only

local   all         all                               trust

# IPv4 local connections:

host    all         all         127.0.0.1/32          trust

# IPv6 local connections:

host    all         all         ::1/128               trust

 

Any suggestions would be greatly appreciated!

 

Dan

 

pgsql-general by date:

Previous
From: "Nathan Thatcher"
Date:
Subject: Create database without entering password at command line
Next
From: "Gurjeet Singh"
Date:
Subject: Re: Join three fields into one on same table