From: Robert Treat <xzilla@users.sourceforge.net>
To: Lukasz <stepien50@poczta.onet.pl>
Cc: pgsql-admin@postgresql.org
Subject: Re: Problem
Date: 06 Apr 2004 14:43:47 -0400
Message-ID: <1081277027.31791.84.camel@camel> (raw)
In-Reply-To: <e0037e50.0404060706.2a458cff@posting.google.com>
References: <e0037e50.0404060706.2a458cff@posting.google.com>
On Tue, 2004-04-06 at 11:06, Lukasz wrote:
> Hello
>
> I have installed PostgreSQL on Red Hat 9 . I have a problem: I have
> added new user of the database system , the name of this user is :
> "jan" . I have given him
> the permission for creating new databases and for adding new users,
> but when I
> wrote:
>
> psql -U jan template1
>
> then I have got message:
>
> psql : FATAL : IDENT authentication failed for user "jan" .
>
>
> What is wrong ? What should I do with it ?
>
IDENT authentication requires (generally) that your system user be the
same as your database user. Since it sounds like this is not what you
want, you need to modify your pg_hba.conf file and change the settings
as appropriate. (See comments in the file or docs for specifics on the
different options)
Robert Treat
--
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: xzilla@users.sourceforge.net, stepien50@poczta.onet.pl
Subject: Re: Problem
In-Reply-To: <1081277027.31791.84.camel@camel>
References: <e0037e50.0404060706.2a458cff@posting.google.com> <1081277027.31791.84.camel@camel>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox