From: Hervé Piedvache <herve@elma.fr>
To: pgsql-admin@postgresql.org
Subject: pam authentification trouble ...
Date: Wed, 7 Jul 2004 16:37:50 +0200
Message-ID: <200407071637.50311.herve@elma.fr> (raw)
Dear all,
I have a trouble with the pam authentification for PostgreSQL.
I have add in the pg_hba.conf the good line ... and I have create
a /etc/pam.d/postresql file which contains :
auth required pam_unix.so nullok_secure
account required pam_unix.so
Now like this ... impossible for me to connect to the dabase ... I have
message like this :
Jul 6 13:26:44 zoot arr [local] authentication: (pam_unix) auth could not
identify password for [herve]
Jul 6 13:26:47 zoot arr [local] authentication: (pam_unix) authentication
failure; logname= uid=31 euid=31 tty= ruser= rhost= user=herve
The only solution I have found to make it running is to put the postgres user
in the shadow group ... to be able to read the /etc/shadow file ...
I think this is not normal ... so please if you have any idea to solve my
trouble ... I'll be very pleased ...
I'm using linux, on Debian Woody ... but using my own compilation of
PostgreSQL v7.4.3.
Regards,
--
Hervé Piedvache
Elma Ingénierie Informatique
6 rue du Faubourg Saint-Honoré
F-75008 - Paris - France
Pho. 33-144949901
Fax. 33-144949902
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: herve@elma.fr
Subject: Re: pam authentification trouble ...
In-Reply-To: <200407071637.50311.herve@elma.fr>
References: <200407071637.50311.herve@elma.fr>
* 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