| From: | "Larry Rosenman" <lrosenman(at)pervasive(dot)com> | 
|---|---|
| To: | "ctobini" <ctemp2(at)free(dot)fr>, <pgsql-general(at)postgresql(dot)org> | 
| Subject: | Re: Can't connect to postgresql using 'psql -d database -U user -W' | 
| Date: | 2006-01-05 14:58:03 | 
| Message-ID: | D1D2D51E3BE3FC4E98598248901F75940328D918@ausmail2k4.aus.pervasive.com | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-general | 
ctobini wrote:
> Hello,
> 
> I have a problem with postgresql 7.4 installed on Linux Ubuntu 5.04
> (hoary).
> 
> I made an 'alter' command for my db users :
> 
> eg: alter user postgres with password 'postgres';
> ALTER USER
> 
> but I can't connect to postgresql using :
> 
> tobini% psql -d template1 -U postgres -W
> password: postgres
> psql: FATAL:  IDENT authentication failed for user "postgres"
> 
> Do you have an idea about this problem ?
> 
Your pg_hba.conf file specifies IDENT authorization, and you are not
running
the command as the unix user postgres.
Check your pg_hba.conf file and the documentation on the pg_hba.conf
file:
 
http://www.postgresql.org/docs/current/static/client-authentication.html
#AUTH-PG-HBA-CONF
-- 
Larry Rosenman		
Database Support Engineer
PERVASIVE SOFTWARE. INC.
12365B RIATA TRACE PKWY
3015
AUSTIN TX  78727-6531 
Tel: 512.231.6173
Fax: 512.459.1309
Email: Larry(dot)Rosenman(at)pervasive(dot)com
Web: www.pervasive.com 
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alan Garrison | 2006-01-05 15:09:55 | Re: 'Official' definition of ACID compliance? | 
| Previous Message | Russ Brown | 2006-01-05 14:58:00 | 'Official' definition of ACID compliance? |