From: A.Bhuvaneswaran <bhuvan@symonds.net>
To: paulp127@dublin.ie
Cc: pgsql-admin@postgresql.org
Subject: Re: createuser problem in 7.3.4 on Linux
Date: Wed, 17 Dec 2003 16:01:28 +0530
Message-ID: <1071657087.1831.6.camel@Bhuvan.bksys.co.in> (raw)
In-Reply-To: <T668fc00344c22e0851584@ESWEEPOUT1.nevadatele.com>
References: <T668fc00344c22e0851584@ESWEEPOUT1.nevadatele.com>
> As user postgres I have run initdb. I create a user named
> Administrator via the createuser script. All goes well and I get the
> response CREATE USER.
> Then I try:
>
> psql -U Administrator template1
>
> and get the response:
> psql: FATAL: IDENT authentication failed for user "Administrator".
>
Default installation uses ident authentication method. It requires os
user with the same name & mapping in pg_ident.conf. If i am correct, you
are looking for either trust/password authentication method. If so, edit
pg_hba.conf and comment the ident entry and uncomment trust entry.
> ERROR: DROP USER: user "administrator" does not exist
It looks strange. Ensure, you are not deleting the user twice -:).
Since, IMO, both createuser and dropuser scripts handle the case
properly.
regards,
bhuvaneswaran
Attachments:
signature.asc (application/pgp-signature, 231B) download
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: bhuvan@symonds.net, paulp127@dublin.ie
Subject: Re: createuser problem in 7.3.4 on Linux
In-Reply-To: <1071657087.1831.6.camel@Bhuvan.bksys.co.in>
References: <T668fc00344c22e0851584@ESWEEPOUT1.nevadatele.com> <1071657087.1831.6.camel@Bhuvan.bksys.co.in>
* 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