Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iLmyj-000268-Lu for pgsql-general@arkaria.postgresql.org; Sat, 19 Oct 2019 11:33:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iLmyi-0004t1-8C for pgsql-general@arkaria.postgresql.org; Sat, 19 Oct 2019 11:33:00 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1iLmyh-0004ph-Rq for pgsql-general@lists.postgresql.org; Sat, 19 Oct 2019 11:32:59 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iLmye-0002hI-Do for pgsql-general@lists.postgresql.org; Sat, 19 Oct 2019 11:32:59 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id 7238AFED; Sat, 19 Oct 2019 13:32:54 +0200 (CEST) Date: Sat, 19 Oct 2019 13:32:54 +0200 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: Securing records using linux grou permissions Message-ID: <20191019113254.GA18996@hjp.at> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Qxx1br4bt0+wmkIi" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2019-10-15 13:10:13 -0400, David Gauthier wrote: > I was hoping there was a way to integrate the user/permissions/groups in = linux > with the PG permissions functionality.=A0 You can at least map the OS users to DB roles by using the peer or ident authentication schemes. This way the users won't have to enter their passwords again. But I think this works only if the client and the server are on the same host. And you still have to maintain the groups, although that should be easy to automate. hp --=20 _ | Peter J. Holzer | we build much bigger, better disasters now |_|_) | | because we have much more sophisticated | | | hjp@hjp.at | management tools. __/ | http://www.hjp.at/ | -- Ross Anderson --Qxx1br4bt0+wmkIi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAl2q9GEACgkQ8g5IURL+ KF0X7A//V7VMtVuaFTgYSbpeUZpxTfdTfJspw/KJ3r0cqOZi1YqTDhZmn476kvpA SSLkTHBoupXe4FGEnze67k3AhIeRN81IWo9jPTtPh4PoMNJVvH6wo12EiAROTU3M jPMHNuT1mI0u2pP/HmfiQ9U6rwuF7Vkttlkg4Asny3R2eLBHECfD4YkXKXTx9QzP cIANqXKnrcwsuoqzLqvrWo0J4ntsO0kzJ91zeCioWqEyiU7VhJ+D6ODEOL/z2twd nZfmBunOGadnaISSeGMQCkoUMQyfGDLkgdX4LvSGEaDzXzg9jCodnFGtlxXTkRp9 yz+KoxLdljeu9m3s6wAn1wQdTxGtm45AbmbXJ6YZt8NQg8e0NG40lC8kaRES4SuT lc1pe6ZuBrSmD4rt5AOYWc3y3k2XwCdCzB1tzqLk9955vDmPS35gmAK4X6Uavfx8 yycKPFGrH0tmXc7y2XnFUZeVpK9e7kke+iTQ6L6CDNdQqxqia+zeWqQ6EqXwKVTU 7QonqZ+MssInEWvbtr607ANWqs6yahJUvNf4vowy3jO5JQ7fsgOU5LW8tGUvvUnE ax2yTCCG8COo51ed8F/6LCUWvQsd75yrOENPdRZaYUxUsj55cX/eRSw5dut3nAdP Zl++A9jW2r83/db61AIzVUcVfNQDLJD4T6O4wKW1bZLJ7w11JJI= =+qY8 -----END PGP SIGNATURE----- --Qxx1br4bt0+wmkIi--