Re: Possible bug for pam auth in at least 9.6 and 10 rpms on CentOS 7

From: Devrim Gündüz <devrim(at)gunduz(dot)org>
To: Jesper St John <admin(at)zonezero(dot)se>, pgsql-pkg-yum(at)postgresql(dot)org
Subject: Re: Possible bug for pam auth in at least 9.6 and 10 rpms on CentOS 7
Date: 2017-06-23 19:03:34
Message-ID: 1498244614.25938.5.camel@gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum


Hi,

On Thu, 2017-06-08 at 14:11 +0200, Jesper St John wrote:
> When installing postgresql-server package, it puts a file in /etc/pam.d/ 
> called postgresql%{majorversion}.
>
> Postgres source says this (src/backend/libpq/auth.c):
> #define PGSQL_PAM_SERVICE "postgresql"  /* Service name passed to PAM */
>
> That creates the need to create a new file named /etc/pam.d/postgresql 
> to make pam auth work for me.
>
> I've tested this with both 9.6 and 10 beta on CentOS 7 latest.

Pushed this to 9.5+. Thanks for the patch!

Regards, Devrim

--
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

In response to

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Jehan-Guillaume de Rorthais 2017-06-26 13:16:24 PostgreSQL Automatic Failover
Previous Message Jesper St John 2017-06-12 07:35:18 Re: Possible bug for pam auth in at least 9.6 and 10 rpms on CentOS 7