Re: [NOVICE] Authentication problems - Mailing list pgsql-general

From Tom Lane
Subject Re: [NOVICE] Authentication problems
Date
Msg-id 6574.1093374960@sss.pgh.pa.us
Whole thread Raw
In response to Authentication problems  (the inquirer <listquestions@yahoo.com>)
List pgsql-general
the inquirer <listquestions@yahoo.com> writes:
> $ psql -W -d database -U user
> Password:
> psql:  FATAL: IDENT authentication failed for user "user"

It looks like you would rather use password authentication than the
default IDENT-based auth (it's default in Debian distro of postgres
anyway).  IDENT will only let you in when you do *not* use -U, ie,
your postgres user name is the same as your Unix user name.  Change
this in pg_hba.conf, and don't forget to SIGHUP or restart the
postmaster afterwards.

            regards, tom lane

pgsql-general by date:

Previous
From: Marco Colombo
Date:
Subject: Re: How to setup default value "0000-00-00" for "date"
Next
From: "Magnus Hagander"
Date:
Subject: Re: Problem to connect to the Windows Port