Re: [COMMITTERS] pgsql: Enable pg_ctl to give up admin privileges

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Stephen Frost <sfrost(at)snowman(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [COMMITTERS] pgsql: Enable pg_ctl to give up admin privileges
Date: 2006-02-11 16:20:44
Message-ID: 200602111620.k1BGKio28587@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Tom Lane wrote:
> Stephen Frost <sfrost(at)snowman(dot)net> writes:
> > * Tom Lane (tgl(at)postgresql(dot)org) wrote:
> >> Enable pg_ctl to give up admin privileges when starting the server under
> >> Windows (if newer than NT4, else works same as before).
>
> > I don't suppose we could consider doing this for Unix-based systems too?
> > I think it'd certainly be nice. It's also how quite a few other Unix
> > daemons operate.
>
> Why should we try to duplicate the functionality of "su"? And we would
> have to largely duplicate it, not just change process UID.
>
> I don't see the need for it anyway. The only reason this patch went in
> at all is to compensate for the general level of ignorance of Windows
> users...

But other Unix daemons do it, so why not us?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2006-02-11 16:26:19 Re: pgsql: Add INET/CIDR operators: and, or, not, plus int8, minus int8, and
Previous Message Tom Lane 2006-02-11 16:04:54 Re: [COMMITTERS] pgsql: Enable pg_ctl to give up admin privileges when starting the

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-02-11 16:41:01 Re: Upcoming re-releases
Previous Message Magnus Hagander 2006-02-11 16:15:45 Re: [PERFORM] What do the Windows pg hackers out there like for dev