From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dan Langille <dan@langille.org>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Radoslaw Stachowiak <radek@alter.pl>
Cc: postgresql <pgsql-admin@postgresql.org>
Subject: Re: SSL Mode
Date: Mon, 23 Dec 2002 17:49:56 -0500
Message-ID: <11946.1040683796@sss.pgh.pa.us> (raw)
In-Reply-To: <20021223173809.U74584-100000@m20.unixathome.org>
References: <20021223173809.U74584-100000@m20.unixathome.org>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, dan@langille.org, pgman@candle.pha.pa.us, radek@alter.pl
Subject: Re: SSL Mode
In-Reply-To: <11946.1040683796@sss.pgh.pa.us>
References: <20021223173809.U74584-100000@m20.unixathome.org> <11946.1040683796@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox