Re: ownership of /etc/pgbouncer

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Devrim Gündüz <devrim(at)gunduz(dot)org>
Cc: pgsql-pkg-yum(at)postgresql(dot)org
Subject: Re: ownership of /etc/pgbouncer
Date: 2015-04-02 20:08:24
Message-ID: 551DA1B8.7080002@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

On 4/2/15 3:26 PM, Devrim Gündüz wrote:
> On Mon, 2015-03-30 at 11:30 -0400, Peter Eisentraut wrote:
>> In 16e435b586c6f27abc9ab9676a9448b897e582aa, the ownership of
>> /etc/pgbouncer was changed from root:root to pgbouncer:pgbouncer.
>> That seems like a mistake to me. What was the reason for this change?
>
> Jess' idea was being able to edit the config file with pgbouncer user.
> Why do you think that is a bad idea?

Because when a daemon runs as a separate user, I want it to have as
little access as possible.

The reason you give (or were given) is an arbitrary local decision and
should not be global policy. (sudo is a better tool for that anyway.)

In response to

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Jeroen van Vianen 2015-04-02 20:22:37 Postgis 2.1.7 upgrade fails
Previous Message Devrim Gündüz 2015-04-02 19:28:20 Re: RHEL 7 repo 404