Re: Postgresql 8.4 pam

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jakub Gołębiewski <jakub21(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Postgresql 8.4 pam
Date: 2009-09-29 14:30:43
Message-ID: 8730.1254234643@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

=?ISO-8859-2?Q?Jakub_Go=B3=EAbiewski?= <jakub21(at)gmail(dot)com> writes:
> I'm trying to configure authentication to postgresql 8.4 on FreeBSD Current
> with pam, but when I restart the server I can't login into database using
> pam authentication.

You'll need to check your PAM documentation, but if this is trying to
read the Unix password file directly then it won't work, because
postgres doesn't run as root. You'd need to have an external helper
program of some sort. Afraid I don't use PAM enough to offer specifics.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message kunal sharma 2009-09-29 16:22:06 Postgres server goes in recovery mode repeteadly
Previous Message Jakub Gołębiewski 2009-09-29 12:57:11 Postgresql 8.4 pam