Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id E8036476305 for ; Mon, 23 Dec 2002 17:55:11 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 89E4C4766DB for ; Mon, 23 Dec 2002 17:50:05 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.6/8.12.6) with ESMTP id gBNMnud0011947; Mon, 23 Dec 2002 17:49:56 -0500 (EST) To: Dan Langille Cc: Bruce Momjian , Radoslaw Stachowiak , postgresql Subject: Re: SSL Mode In-reply-to: <20021223173809.U74584-100000@m20.unixathome.org> References: <20021223173809.U74584-100000@m20.unixathome.org> Comments: In-reply-to Dan Langille message dated "Mon, 23 Dec 2002 17:39:58 -0500" Date: Mon, 23 Dec 2002 17:49:56 -0500 Message-ID: <11946.1040683796@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/293 X-Sequence-Number: 6788 Dan Langille 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