Ident authentication failed without su to user - Mailing list pgsql-general

From jim_bowery@hotmail.com
Subject Ident authentication failed without su to user
Date
Msg-id 1140117832.764816.80000@o13g2000cwo.googlegroups.com
Whole thread Raw
Responses Re: Ident authentication failed without su to user  (Douglas McNaught <doug@mcnaught.org>)
Re: Ident authentication failed without su to user  (Chris <dmagick@gmail.com>)
List pgsql-general
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@marathon bugzilla-2.20]# psql bugs bugs
psql: FATAL:  Ident authentication failed for user "bugs"
...
but if I
[root@marathon bugzilla-2.20]# su bugs
[bugs@marathon bugzilla-2.20]$ psql bugs bugs
Welcome to psql 8.0.7, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
     \h for help with SQL commands
     \? for help with psql commands
     \g or terminate with semicolon to execute query
     \q to quit

bugs=>

it works.  any ideas why?


pgsql-general by date:

Previous
From: "Chad"
Date:
Subject: How do I use the backend APIs
Next
From: Douglas McNaught
Date:
Subject: Re: Ident authentication failed without su to user