From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Dan Langille <dan(at)langille(dot)org> |
Cc: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Radoslaw Stachowiak <radek(at)alter(dot)pl>, postgresql <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: SSL Mode |
Date: | 2002-12-23 22:49:56 |
Message-ID: | 11946.1040683796@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Dan Langille <dan(at)langille(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Jie Liang | 2002-12-24 03:10:27 | libpg.so.2 is missing in 7.3.1 |
Previous Message | Bruce Momjian | 2002-12-23 22:43:44 | Re: SSL Mode |