🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #50097

Re: If only the wheel group can su to root

#50097
From: Jeremy
Date: Wed, 24 Jan 2001 05:51
20 lines
1527 bytes
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.

-- 
Jeremy  |  jeremy@exit109.com
Technical Details
Message-ID: <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!saloon!newsbastard
References: <m37l3mip9i.fsf@pyrophore.ogoense.net> <94k3cb$lh2$3@support.neth.hp.com> <m38zo1y72d.fsf@pyrophore.ogoense.net>

Show Full Headers
Complete Article Headers
Message-ID: <980315508.256145@news.netscum.dk>
Subject: Re: If only the wheel group can su to root
Date: Wed, 24 Jan 2001 05:51:48 +0000
From: Jeremy <jeremy@exit109.com>
References: <m37l3mip9i.fsf@pyrophore.ogoense.net> <94k3cb$lh2$3@support.neth.hp.com> <m38zo1y72d.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!saloon!newsbastard
Newsgroups: news.software.nntp
Organization: There Is No Organization
Lines: 19
X-Newsreader: trn 4.0-test73 (May 24, 2000)
X-Meow: Meow