Re: unix_socket_group problem

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: unix_socket_group problem
Дата
Msg-id 4156.1258130855@sss.pgh.pa.us
обсуждение исходный текст
Ответ на unix_socket_group problem  (Joe Miller <joe.d.miller@gmail.com>)
Ответы Re: unix_socket_group problem  (Joe Miller <joe.d.miller@gmail.com>)
Список pgsql-admin
Joe Miller <joe.d.miller@gmail.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

В списке pgsql-admin по дате отправления:

Предыдущее
От: Joe Miller
Дата:
Сообщение: unix_socket_group problem
Следующее
От: Joe Miller
Дата:
Сообщение: Re: unix_socket_group problem