Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YvAgO-0003Hb-7w for pgsql-hackers@arkaria.postgresql.org; Wed, 20 May 2015 20:33:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YvAgN-0004KP-KV for pgsql-hackers@arkaria.postgresql.org; Wed, 20 May 2015 20:33:39 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YvAgM-0004KJ-CR for pgsql-hackers@postgresql.org; Wed, 20 May 2015 20:33:38 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1YvAgJ-0003Ev-QX for pgsql-hackers@postgresql.org; Wed, 20 May 2015 20:33:37 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 3A13D5F799; Wed, 20 May 2015 16:33:35 -0400 (EDT) Date: Wed, 20 May 2015 16:33:35 -0400 From: Stephen Frost To: Tom Lane Cc: Josh Berkus , Alvaro Herrera , Volker =?iso-8859-1?Q?A=DFmann?= , Robert Haas , Andrew Dunstan , "pgsql-hackers@postgresql.org" Subject: Re: Disabling trust/ident authentication configure option Message-ID: <20150520203335.GN26667@tamriel.snowman.net> References: <555CC5DE.3050707@agliodbs.com> <20150520175916.GB5885@postgresql.org> <23809.1432145430@sss.pgh.pa.us> <555CDC56.5050607@agliodbs.com> <20150520194223.GM26667@tamriel.snowman.net> <3359.1432151851@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2IK6idz0sKKouFF6" Content-Disposition: inline In-Reply-To: <3359.1432151851@sss.pgh.pa.us> 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: 16:28:45 up 62 days, 2:17, 11 users, load average: 0.08, 0.11, 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 --2IK6idz0sKKouFF6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Tom, * Tom Lane (tgl@sss.pgh.pa.us) wrote: > Stephen Frost writes: > > I don't agree with this either. Providing a "bypass all authentication" > > configuration option really isn't a good thing. Why don't packagers use > > our default pg_hba.conf? Because it only makes sense in a development > > type of environment. I'd argue the same is true for 'trust'. >=20 > Sure. And the problem is that development environments are a perfectly > common and respectable use-case. Apologies for the confusion- the 'development type of environment' I was referring to above is the environment where our default from-source pg_hba.conf is installed: when doing *PostgreSQL* development. I don't see the use-case for using 'trust' when doing application development with PG as a database. I've certainly not used it before and when I've found it in places that I've gone, after explaining how it actually works, everyone I've worked with has either changed it or made plans to do so. > If we could get to a point where there is another way that is superior > to "trust" even for single-user development environments, then maybe > it would be useful to try to persuade packagers to disable "trust". I agree with this, as mentioned up-thread. Having a way to support single-user development / running of PG would really need to exist before we could encourage getting rid of 'trust'. > But I don't even see a proposal for such a thing, let alone a track record > showing that nobody needs "trust". And you really have got to get to the > point of being able to argue that *nobody* needs trust, not that some > use-cases don't need it, before you will impress most packagers. I don't see a real proposal for it either; I was simply trying to outline a path forward, one which I would agree with, rather than simply saying "no, never." Thanks! Stephen --2IK6idz0sKKouFF6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJVXO+eAAoJEO1sijiDR2RVx5sP/jJPip92LI/VHqNR+2Z39z4C vchuHsH9YWzLIwYvphWI6igS+kU7DOtC5BwZ1jo4QmRyqRb8cjA5UdK+SAwgMfeF yFzZ/UDb7iDTFwgE1eg5l4zd99RdS9lWNrBvNPGK+ezuCdTVdXCVE7DRA4kfIWGn woE5/exzZFH6Xqi1s6UUtg0Hxsnim2HcRReUzqE77NyZGmhg2hoSdht6V26uIpiz 9PfuB7d0jGR/2HL1yGb2UIWRRaLd+MhLuxZJRGvlk8QIgR95IgkRjX8yZBztKgrz kX8CXUKj0MoJulFGv3RszJ9ougDKxnikE1v1T7cvhkfHEkaZE90ar7e43q1y2ub4 FRa7d/FD6kdsNaym0iu8FvAUqpztJY2NPdGJXLT89ai18oB7Qq4sEB6E82A+eiIC zf6mFvcBePTT4TeL6A32D0RePNwkHlziOYdMBfNjugmjOncuE6drdda76KlnVKKO cGphDz2f7sVKJO6Qt/jWA3hGQaTSdU81ILhtLj7qZKG3niIPOiudTfuUIPE0L8jB 2XPCWpyl7lFkOJqCmOq8TzMLwWTZu6qe+l9DzKeMSuoLu+z95YRiH+rLQlUIQSV4 TXubbzzRZOjlRYI3ypuqAG5KjiA0jhY+AOoHXti0W7CGQm7iOwDYai3hQnqp+xb6 FP70863f+DwCKGevfiU1 =tPZ8 -----END PGP SIGNATURE----- --2IK6idz0sKKouFF6--