Article View: news.software.nntp
Article #50100Re: If only the wheel group can su to root
From: Rebecca Ore
Date: Wed, 24 Jan 2001 07:24
Date: Wed, 24 Jan 2001 07:24
32 lines
2463 bytes
2463 bytes
Jeremy <jeremy@exit109.com> writes:
> Rebecca Ore <rebecca@ogoense.net> wrote:
>
> >> root (/sbin/init.d/news) -> news ("su news") -> root (set-UID root)
> >>
> >> This setup has the advantage that both root and news can start/stop
> >> INN and INN is set-UID root a short and as little as possible.
> >
> > NetBSD has regular users who can't su to root, wheel group members who
> > have special privileges, and low numbers PID (or whatever, I can't
> > remember and I'm too tired to look it up) for special groups (0 for
> > root). I had to add news to news and (probably) to wheel (users can
> > be members of multiple groups).
>
> The wheel group is enforced on BSD by the su program itself. A user
> doesn't need to be in the wheel group to run a setuid root program,
> only to actually su to root.
Should the news users only be in the news group, then? I figure I can
take some of the other ones off the same way I cleaned everything up
(sheesh, who'd have thought text tools were as stupid as GUI tools for
doing what I really needed to do). At the point I got confabbled,
news wasn't a member of the group news. I now know what I was looking
at.
Sigh.
--
Rebecca Ore
http://www.ogoense.net/rebecca
Technical Details
Message-ID:
<m3d7ddbef2.fsf@pyrophore.ogoense.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-xfer.newsread.com!bad-news.newsread.com!netaxs.com!newsread.com!POSTED.monger.newsread.com!not-for-mailReferences:
<m37l3mip9i.fsf@pyrophore.ogoense.net> <94k3cb$lh2$3@support.neth.hp.com> <m38zo1y72d.fsf@pyrophore.ogoense.net> <980315508.256145@news.netscum.dk>Show Full Headers
Complete Article Headers
Message-ID: <m3d7ddbef2.fsf@pyrophore.ogoense.net> Subject: Re: If only the wheel group can su to root Date: Wed, 24 Jan 2001 07:24:50 GMT From: Rebecca Ore <rebecca@ogoense.net> References: <m37l3mip9i.fsf@pyrophore.ogoense.net> <94k3cb$lh2$3@support.neth.hp.com> <m38zo1y72d.fsf@pyrophore.ogoense.net> <980315508.256145@news.netscum.dk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-xfer.newsread.com!bad-news.newsread.com!netaxs.com!newsread.com!POSTED.monger.newsread.com!not-for-mail Mail-Copies-To: never Sender: rebecca@pyrophore.ogoense.net Newsgroups: news.software.nntp Organization: Rebecca's Lines: 31 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 207.8.130.194 X-Complaints-To: Abuse Role <abuse@netaxs.com> X-Trace: monger.newsread.com 980321090 207.8.130.194 (Wed, 24 Jan 2001 02:24:50 EST) NNTP-Posting-Date: Wed, 24 Jan 2001 02:24:50 EST