Ident authentication failed without su to user

From: jim_bowery(at)hotmail(dot)com
To: pgsql-general(at)postgresql(dot)org
Subject: Ident authentication failed without su to user
Date: 2006-02-16 19:23:52
Message-ID: 1140117832.764816.80000@o13g2000cwo.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(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
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?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Douglas McNaught 2006-02-16 19:24:06 Re: C trigger using system(3) to execute a php script
Previous Message David Rio Deiros 2006-02-16 19:06:33 C trigger using system(3) to execute a php script