Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Yv8Qn-00051n-VD for pgsql-hackers@arkaria.postgresql.org; Wed, 20 May 2015 18:09:26 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Yv8Qn-0005vr-Aq for pgsql-hackers@arkaria.postgresql.org; Wed, 20 May 2015 18:09:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Yv8Ql-0005te-RL for pgsql-hackers@postgresql.org; Wed, 20 May 2015 18:09:23 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Yv8Qi-0008Ad-Bf for pgsql-hackers@postgresql.org; Wed, 20 May 2015 18:09:22 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id E176C5F79A; Wed, 20 May 2015 14:09:17 -0400 (EDT) Date: Wed, 20 May 2015 14:09:17 -0400 From: Stephen Frost To: Alvaro Herrera Cc: Josh Berkus , Volker =?iso-8859-1?Q?A=DFmann?= , Robert Haas , Tom Lane , Andrew Dunstan , "pgsql-hackers@postgresql.org" Subject: Re: Disabling trust/ident authentication configure option Message-ID: <20150520180917.GL26667@tamriel.snowman.net> References: <55596375.7070601@agliodbs.com> <555CC5DE.3050707@agliodbs.com> <20150520175916.GB5885@postgresql.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="W4pDZ/VvazBYHhxQ" Content-Disposition: inline In-Reply-To: <20150520175916.GB5885@postgresql.org> X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.13.0-46-generic (x86_64) X-Uptime: 14:00:46 up 61 days, 23:49, 11 users, load average: 0.27, 0.14, 0.13 User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org --W4pDZ/VvazBYHhxQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Alvaro Herrera (alvherre@2ndquadrant.com) wrote: > Josh Berkus wrote: >=20 > > As such, proposals are more likely to be successful if the proposer can > > show how they apply to a general use case, or adapt them so that they > > are useful to a large number of our users. This means that "this works > > in our environment which has conditions X, Y, and Z" is not an effective > > argument, unless you can follow it up with "... and here's the reason > > why [large class of users] also has conditions X, Y and Z." >=20 > The proposal here is to have a configure argument that disables > arbitrary auth mechanisms. How is that specific to a particular > environment? For my 2c, I'm still a fan of the general idea.. I still view 'trust' as appropriate only for development environments and I don't believe it really solves any use-cases that having password-less accounts doesn't. Removing it as an option simply removes a potential configuration mistake. It's not going to protect you from a malicious administrator who has root-level access any more than a CHECK constraint would stop a malicious DBA. Thanks! Stephen --W4pDZ/VvazBYHhxQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJVXM3NAAoJEO1sijiDR2RVUA0P/jAwAlRN18nESWuQo7MeVe+J qpYn7a3/F9lIqr7B/oav2O9QBX3qJHsQU2JC4krES1G6RRI8gMRSVkc3n7W6WsUX qhsUNbGIjo3/eELikc+de6M41SlM5pq53lBkGPJeTh0sdlul3HlmsVhkTy4/99ON kE2ezof4TmePM8SciETtnpBTKfzVr+MtzPHM6WBAoz3rVda5xvQXlDSDWF2wh7/A sWuP2429mNCiVLTnbsMBUL+kxHV3dsnx3zXGdg6d4qapeZylfVumDQszexlz+r8o SimOgKJhNagnCBTUtWsZNIoMPgEqkS93lHfk4qXkcaHRyB7nkDdglbLDXwMFqDqj lxylVqZaEtipq/j+lMjoqKsgRIHNH5flbYdob/T1BTEo3XXDGzekL1MAO3seTCBF v3ZieeeEIDxGZg5E974LYHKYXQ7m7sW2WzT2mkpZEoMEhnorxdeoqVMjsMoKOCF4 cU44C1Ve7mhoCK1XqxVofHU6OH/xTzymcuplrLIDXu5IroJEUr0eCHPsmNThnsaA HBIrNQgRA5Do0/u9m0gLZYvW/AJQyCU6gMqJ7Kq+YDhbdnbnymk6gDb1VSjTr5fd 4lU0ToQZOAQc4AeBh/UnaW3ODt4hRafvuoFoAsxTrh7bPm2WWeqDnSZgByCzC4qB 7FpmMg1edAzPIq6IkFLr =hwk2 -----END PGP SIGNATURE----- --W4pDZ/VvazBYHhxQ--