Re: unix_socket_group problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joe Miller <joe(dot)d(dot)miller(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: unix_socket_group problem
Date: 2009-11-13 16:47:35
Message-ID: 4156.1258130855@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Joe Miller <joe(dot)d(dot)miller(at)gmail(dot)com> writes:
> I have a PostgreSQL installation for which I would like to limit local
> domain socket access to the postgres user and members of the "myadmin"
> group. I've modified pg_hba.conf to trust local domain socket connections,
> and changed these settings in postgresql.conf:
> unix_socket_group = 'myadmin'
> unix_socket_permissions = 0770

Looks reasonable.

> When I look at the socket file in /tmp, I see the following:
> srwx------ 1 postgres postgres 0 Nov 13 10:03 .s.PGSQL.5432

Huh, did you restart the server? Are you sure you modified the right
config file? Those settings obviously didn't "take".

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Joe Miller 2009-11-13 17:08:47 Re: unix_socket_group problem
Previous Message Joe Miller 2009-11-13 15:47:37 unix_socket_group problem