Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U8yOy-0003LS-AU for pgsql-general@arkaria.postgresql.org; Fri, 22 Feb 2013 19:35:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1U8yOx-0000I2-HD for pgsql-general@arkaria.postgresql.org; Fri, 22 Feb 2013 19:35:23 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U8yOw-0000Hw-2G for pgsql-general@postgresql.org; Fri, 22 Feb 2013 19:35:22 +0000 Received: from hogranch.com ([75.101.82.47]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U8yOt-0006Rv-93 for pgsql-general@postgresql.org; Fri, 22 Feb 2013 19:35:20 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id r1MJZC914185 for ; Fri, 22 Feb 2013 11:35:12 -0800 Message-ID: <5127C86C.4020505@hogranch.com> Date: Fri, 22 Feb 2013 11:35:08 -0800 From: John R Pierce User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-Version: 1.0 To: pgsql-general@postgresql.org Subject: Re: confirming security. References: <9F992F0A0D9BA04F914597F75435942D09575EB6B2@MBX36.exg5.exghost.com> <5126EE15.8030402@hogranch.com> <9F992F0A0D9BA04F914597F75435942D09576C4DCF@MBX36.exg5.exghost.com> <51279576.1080102@gmail.com> <9F992F0A0D9BA04F914597F75435942D09576C4DF5@MBX36.exg5.exghost.com> In-Reply-To: <9F992F0A0D9BA04F914597F75435942D09576C4DF5@MBX36.exg5.exghost.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org On 2/22/2013 8:13 AM, Maz Mohammadi wrote: > Ahhh yes....it is now... > > =========== > # TYPE DATABASE USER ADDRESS METHOD > # "local" is for Unix domain socket connections only > #local all all trust > # IPv4 local connections: > #host all all 127.0.0.1/32 trust > # IPv6 local connections: > #host all all ::1/128 trust > # Allow replication connections from localhost, by a user with the > # replication privilege. > #local replication postgres-xc trust > #host replication postgres-xc 127.0.0.1/32 trust > #host replication postgres-xc ::1/128 trust > hostssl all all 127.0.0.1/32 cert I would leave a local line in front of that like.. local all postgres peer this will allow the postgres user to log on regardless when using unix sockets rather than tcp/ip (eg, when not specifying any -h hostname). handy for database administration and fixing problems. -- john r pierce 37N 122W somewhere on the middle of the left coast -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general