From: John R Pierce <pierce@hogranch.com>
To: pgsql-general@postgresql.org
Subject: Re: confirming security.
Date: Fri, 22 Feb 2013 11:35:08 -0800
Message-ID: <5127C86C.4020505@hogranch.com> (raw)
In-Reply-To: <9F992F0A0D9BA04F914597F75435942D09576C4DF5@MBX36.exg5.exghost.com>
References: <9F992F0A0D9BA04F914597F75435942D09575EB6B2@MBX36.exg5.exghost.com>
<5126EE15.8030402@hogranch.com>
<9F992F0A0D9BA04F914597F75435942D09576C4DCF@MBX36.exg5.exghost.com>
<51279576.1080102@gmail.com>
<9F992F0A0D9BA04F914597F75435942D09576C4DF5@MBX36.exg5.exghost.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: pierce@hogranch.com, pgsql-general@postgresql.org
Subject: Re: confirming security.
In-Reply-To: <5127C86C.4020505@hogranch.com>
References: <9F992F0A0D9BA04F914597F75435942D09575EB6B2@MBX36.exg5.exghost.com> <5126EE15.8030402@hogranch.com> <9F992F0A0D9BA04F914597F75435942D09576C4DCF@MBX36.exg5.exghost.com> <51279576.1080102@gmail.com> <9F992F0A0D9BA04F914597F75435942D09576C4DF5@MBX36.exg5.exghost.com> <5127C86C.4020505@hogranch.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox