From: mamros@ftp.com (Shawn Mamros)
Subject: Re: OSF/1 2.0: why setuid bit everywhere?
Date: Wed, 24 Aug 1994 11:21:39 [thread overview]
Message-ID: <940824112139@cavedog.ftp.com> (raw)
In-Reply-To: 778@trident.datasys.swri.edu
ronniek@pegasus.NoSubdomain.NoDomain(?) (Ronnie L. Killough) writes:
>Why does OSF/1 2.0 have the user-setuid (to root) bit set on so many
>executables? Examples are the "ps" command, X window executables xterm,
>dxterm, and dxpause, I could probably find others.
>
>Just looks suspicious to me.
The examples you cite aren't so suspicious, when you consider what they
have to do:
ps: open /dev/kmem (or perhaps the "files" in /proc) for reading.
{d,}xterm: open and manipulate pseudo-ttys.
dxpause: read from the passwd file or the root-only enhanced security
database.
It seems to me that ps and dxpause could be made to work setgid instead
of setuid, if appropriate groups were given ownership and read-only
capabilities on /dev/kmem and the enhanced security database. But there
may be other issues there of which I'm not aware...
-Shawn Mamros
E-mail to: mamros@ftp.com
next prev parent reply other threads:[~1994-08-24 15:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-08-18 21:55 OSF/1 2.0: why setuid bit everywhere? Ronnie L. Killough
1994-08-24 15:21 ` Shawn Mamros [this message]
1994-08-24 20:16 ` Phil Knaack
1994-08-24 23:56 ` Marc Fraioli
1994-08-24 20:04 ` Phil Knaack
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox