Re: SSL Mode - Mailing list pgsql-admin

From Tom Lane
Subject Re: SSL Mode
Date
Msg-id 11946.1040683796@sss.pgh.pa.us
Whole thread Raw
In response to Re: SSL Mode  (Dan Langille <dan@langille.org>)
List pgsql-admin
Dan Langille <dan@langille.org> writes:
> FWIW, I know the FreeBSD port creates both a pgsql user and a pgsql group.
> I have seen evidence that some Linux distributions create a postgres user.

There are a lot of Unixen in which adduser (or local equivalent) by
default will create a group for each user.  However, there are also a
lot of Unixen in which it won't.

It's also worth pointing out that the server.key file lives in $PGDATA,
which we *also* enforce no-group-or-world permissions on.  To make
server.key editable by (non-root) users other than postgres, we'd have
to rethink the permissions for $PGDATA as well as server.key itself.
I am really hesitant to weaken those permission checks, though.

            regards, tom lane

pgsql-admin by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: SSL Mode
Next
From: Jie Liang
Date:
Subject: libpg.so.2 is missing in 7.3.1