Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dOTrt-0003X7-5g for pgsql-pkg-yum@arkaria.postgresql.org; Fri, 23 Jun 2017 19:03:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dOTrs-0000KZ-NF for pgsql-pkg-yum@arkaria.postgresql.org; Fri, 23 Jun 2017 19:03:44 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dOTrs-0000KQ-GF for pgsql-pkg-yum@postgresql.org; Fri, 23 Jun 2017 19:03:44 +0000 Received: from ns5.gunduz.org ([107.170.136.15] helo=ns1.gunduz.org) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dOTro-0007pP-RO for pgsql-pkg-yum@postgresql.org; Fri, 23 Jun 2017 19:03:44 +0000 Received: from asus-laptop03.gunduz.org (unknown [88.248.122.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ns1.gunduz.org (Postfix) with ESMTPSA id 5C5C23FC8E; Fri, 23 Jun 2017 19:03:38 +0000 (UTC) Message-ID: <1498244614.25938.5.camel@gunduz.org> Subject: Re: Possible bug for pam auth in at least 9.6 and 10 rpms on CentOS 7 From: Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= To: Jesper St John , pgsql-pkg-yum@postgresql.org Date: Fri, 23 Jun 2017 22:03:34 +0300 In-Reply-To: <4529a5e9d4d40abd2e0df7ab49c94118@zonezero.se> References: <4529a5e9d4d40abd2e0df7ab49c94118@zonezero.se> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-pMQCBJHnrzI5eEBwzhAN" X-Mailer: Evolution 3.22.6 (3.22.6-2.fc25) Mime-Version: 1.0 List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-pkg-yum Precedence: bulk Sender: pgsql-pkg-yum-owner@postgresql.org --=-pMQCBJHnrzI5eEBwzhAN Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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/= =C2=A0 > called postgresql%{majorversion}. >=20 > Postgres source says this (src/backend/libpq/auth.c): > #define PGSQL_PAM_SERVICE "postgresql"=C2=A0=C2=A0/* Service name passed = to PAM */ >=20 > That creates the need to create a new file named /etc/pam.d/postgresql=C2= =A0 > to make pam auth work for me. >=20 > 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 --=20 Devrim G=C3=BCnd=C3=BCz EnterpriseDB: https://www.enterprisedb.com PostgreSQL Dan=C4=B1=C5=9Fman=C4=B1/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR --=-pMQCBJHnrzI5eEBwzhAN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJZTWYGAAoJENjDPf6Sz261fQoP/1gfJhdhWHhfB2Y2BVDZXEBg Vfe67UvCqAHwlcX7qcAZI4Vr+sWpyU709kt3mieGMFjhiMLP6kT9OfhH2NffY+bO gHfBViAO2Cyjkun9bADwO/M23IokLQUGQf2Yr+bubu5b9r3GSZudAHAGVRb8M9o8 Xf4ef1ajmp8dWMG41ZBVeHauXqj0mnALHJMxyCkmeXMnNwaeAQHKZjrjWBv+bXKF Tj/ndBcLH6Jx0TERjkt+nTR6AUgPVUuu8IuXo86eHABX6wyfTmLcOABN12mfop8M s8o319J83eqDpX+98gEQVrin2MKiOe1ZHijYsVrjrrn3/MpdeGO4aT3FzXccZ8xG 4mDcH8nA6Y4igkEDBccZCEsz3/bJw7E6X+lSMI+xT0L8Gy+ZvYuywmj08g8Abb2B Zg4mpShARlFfT6ukZhgAkS5Xj2lJqfiw0BrCSXRBDNLeF80aKTAzSbhOrCYImc+H walt4xvVNqvQKP9jAr8bwbSIAOY2ugY0dpoRs/dxPCdf3cfOHYNi1aHe8XkbAO6M ZRQuxSyfkUkvT4BX7fWL5R6S5jExZYIlbcHDg4G3E+MQAwXr3JQKUoZGhceTEOvL 5exKrocqfRtXA5lES/bD/HsRoOyxZ3+cdIIQ6ZE8CnsafcPbjF6k2UZTklLHkrnT ++qweV0K2fcSPB07gEYj =1vVK -----END PGP SIGNATURE----- --=-pMQCBJHnrzI5eEBwzhAN--