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

From Chris
Subject Re: psql: FATAL: Ident authentication failed for user "postgres"
Date
Msg-id 483227D4.4010209@gmail.com
Whole thread Raw
In response to psql: FATAL: Ident authentication failed for user "postgres"  ("Dan Joo" <djoo@agraquest.com>)
List pgsql-general
Dan Joo wrote:
> 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"*

Sure there isn't a line like this:

local   all         postgres                          ident sameuser

uncommented?

$ cat /path/to/pg_hba.conf | grep -v '^#'

Normally the 'postgres' user is 'ident' only unless you remove (or
comment out) that particular line, then restart postgres.

--
Postgresql & php tutorials
http://www.designmagick.com/

pgsql-general by date:

Previous
From: Chris
Date:
Subject: Re: Create database without entering password at command line
Next
From: "Scott Marlowe"
Date:
Subject: Re: Vacuuming on heavily changed databases