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

From: Chris <dmagick(at)gmail(dot)com>
To: Dan Joo <djoo(at)agraquest(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: psql: FATAL: Ident authentication failed for user "postgres"
Date: 2008-05-20 01:22:28
Message-ID: 483227D4.4010209@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2008-05-20 02:07:58 Re: Vacuuming on heavily changed databases
Previous Message Chris 2008-05-20 01:15:49 Re: Create database without entering password at command line