Re: Ident authentication failed for user - URGENT

From: brian <brian(at)zijn-digital(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Ident authentication failed for user - URGENT
Date: 2006-12-05 16:54:14
Message-ID: 4575A436.7040400@zijn-digital.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Marina Olhovsky wrote:
> Hello,
>
> I'm trying to assign a password for a postgres user. I've logged in
> as postgres, issued "alter user my_user with password 'my_passwd'".
> Doing "select * from pg_users" shows the new user with password
> assigned. However, when I try to start psql as the new user: "psql
> -U my_user -W" and enter my_passwd as password, I get "Ident
> authentication failed" error. Could someone please help ASAP? TIA.
>

Do you already have other users that can log in to psql? What does you
pg_hba.conf file have? Can you create the user successfully with createuser?

Have you read the docs thoroughly?

http://www.postgresql.org/docs/8.1/interactive/client-authentication.html

brian

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2006-12-05 16:55:18 Re: HELP: Urgent, Vacuum problem
Previous Message Scott Marlowe 2006-12-05 16:53:09 Re: Table definition changes when a row is dropped and