From: | Maz Mohammadi <mmohammadi(at)pentaho(dot)com> |
---|---|
To: | John R Pierce <pierce(at)hogranch(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: confirming security. |
Date: | 2013-02-22 20:42:06 |
Message-ID: | 9F992F0A0D9BA04F914597F75435942D09576C4F80@MBX36.exg5.exghost.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-jdbc |
Good tip! Thank you.
-----Original Message-----
From: pgsql-general-owner(at)postgresql(dot)org [mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of John R Pierce
Sent: Friday, February 22, 2013 2:35 PM
To: pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] confirming security.
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(at)postgresql(dot)org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
From | Date | Subject | |
---|---|---|---|
Next Message | Raymond C. Rodgers | 2013-02-22 20:42:07 | Dumb question involving to_tsvector and a view |
Previous Message | Kevin Grittner | 2013-02-22 19:59:01 | Re: Need help extripating plpgsql |
From | Date | Subject | |
---|---|---|---|
Next Message | Maz Mohammadi | 2013-02-22 20:44:34 | Re: can't access through SSL |
Previous Message | John R Pierce | 2013-02-22 19:35:08 | Re: confirming security. |