Skip site navigation (1) Skip section navigation (2)

Re: Ident authentication failed without su to user

From: Andreas Seltenreich <andreas+pg(at)gate450(dot)dyndns(dot)org>
To: "James A(dot) Bowery" <jabowery(at)laboratoryofthestates(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Ident authentication failed without su to user
Date: 2006-02-18 11:01:13
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
James A. Bowery writes:

> I've created a database "bugs" and a user "bugs" (postgresql user as
> well as unix) and even made user "bugs" not require a password but I
> still get this:
> [root(at)marathon bugzilla-2.20]# psql bugs bugs
> psql: FATAL:  Ident authentication failed for user "bugs"
> ...
> but if I
> [root(at)marathon bugzilla-2.20]# su bugs
> [bugs(at)marathon bugzilla-2.20]$ psql bugs bugs
> it works.  any ideas why?

That's a how the ident method is supposed to work:

If you want neither ident nor password authentication, you can either
use the trust method, or set up SSL client certificates.



In response to

pgsql-novice by date

Next:From: Andreas SeltenreichDate: 2006-02-18 11:04:19
Subject: Re: Query question, subselects and referencing out?
Previous:From: Michael FuhrDate: 2006-02-18 04:39:42
Subject: Re: php cant see new table!!

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group