Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xto5r-0001U2-8E for pgsql-bugs@arkaria.postgresql.org; Thu, 27 Nov 2014 01:42:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Xto5q-0008UR-PZ for pgsql-bugs@arkaria.postgresql.org; Thu, 27 Nov 2014 01:42:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Xto5q-0008UL-5S for pgsql-bugs@postgresql.org; Thu, 27 Nov 2014 01:42:02 +0000 Received: from [162.253.133.43] (helo=mwork.nabble.com) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xto5m-0003SN-5D for pgsql-bugs@postgresql.org; Thu, 27 Nov 2014 01:42:01 +0000 Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id 708C4B67C7A for ; Wed, 26 Nov 2014 17:41:57 -0800 (PST) Date: Wed, 26 Nov 2014 18:41:56 -0700 (MST) From: David G Johnston To: pgsql-bugs@postgresql.org Message-ID: <1417052516018-5828463.post@n5.nabble.com> In-Reply-To: <20141126233255.GA8130@mail.gisladisker.se> References: <20141116231256.GA15348@mail.gisladisker.se> <20141126233255.GA8130@mail.gisladisker.se> Subject: Re: [PATCH] initdb: Option description. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 162.253.133.43 (failed) X-Pg-Spam-Score: 0.5 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Mats Erik Andersson wrote > tisdag den 25 november 2014 klockan 13:52 skrev Magnus Hagander detta: >> On Mon, Nov 17, 2014 at 12:12 AM, Mats Erik Andersson >> < > bsd@ > > wrote: >> > Hello there, >> > >> > the recent introduction of new options `--auth-local' >> > and `--auth-host' have lead to some confusion in the >> > help massage for inetdb, leaving an erroneous `local' >> > for `--auth' and `--auth-host'. Please consider the >> > following patch to improve the relevance. >> >> Hi! >> >> The idea behind the current wording is that it only sets the >> authentication type for 127.0.0.1 and ::1 -- there is no entry in >> pg_hba.conf generated for non-local TCP/IP connections. Perhaps we >> could clarify it by saying "localhost TCP/IP" rather than "local >> TCP/IP" though? > > Even admitting that the template is stated for localhost only, > it seems clearer in my view to ignore this technicality in the > message. Scaring the administrator slightly is no bad thing. I might quibble on the specific wording but making it clear that initdb only sets up locally accessible connections and permissions is accurate and doesn't need to instill more FUD than it does currently. If admins are going to add non-local access they should consult the documentation and will have to edit hba manually and should know that they are adding a trust method for those non-local connections. However, a user of initdb might not be aware that such is being done for them by default and so the limited warning there is useful. David J. -- View this message in context: http://postgresql.nabble.com/PATCH-initdb-Option-description-tp5827166p5828463.html Sent from the PostgreSQL - bugs mailing list archive at Nabble.com. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs