Re: pg_hba.conf + all + trust = Ident authentication failed for user "postgres"

From: ow <oneway_111(at)yahoo(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_hba.conf + all + trust = Ident authentication failed for user "postgres"
Date: 2006-03-06 13:59:01
Message-ID: 20060306135901.77004.qmail@web53906.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


In postgresql.conf I have "#listen_addresses = 'localhost'" and I am logged in
directly into the box, without telnet, ssh or whatever.

But "psql -U postgres -h localhost" DID WORK (after I entered the password) and
that's a big step forward, thanks.

I'm still not sure why I needed to enter the password, though... my idea of
"trust" is somewhat different...

--- Andy Shellam <andy(dot)shellam(at)mailnetwork(dot)co(dot)uk> wrote:

> No you're right, there shouldn't be anything in pg_ident.conf.
>
> Check in your postgresql.conf file, and set "listen_interfaces" to *, so it
> listens on TCP/IP (if not already.)
>
> Then try connecting with "psql -U postgres -h localhost" and see if that
> lets you on. Also check your postgresql.conf file is not forcing pgSQL to
> look elsewhere for your config files.
>
> Andy
>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Stephan Szabo 2006-03-06 15:05:46 Re: pg_hba.conf + all + trust = Ident authentication failed
Previous Message Andy Shellam 2006-03-06 13:27:29 Re: pg_hba.conf + all + trust = Ident authentication failed for user "postgres"