From: mjf@clark.net (Marc Fraioli)
Subject: Re: OSF/1 2.0: why setuid bit everywhere?
Date: 24 Aug 1994 23:56:42 GMT [thread overview]
Message-ID: <33gmnq$mqk@clarknet.clark.net> (raw)
In-Reply-To: flipk.777759389@soclab.soc.iastate.edu
In article 777759389@soclab.soc.iastate.edu, flipk@iastate.edu (Phil Knaack) writes:
>In <940824112139@cavedog.ftp.com> mamros@ftp.com (Shawn Mamros) writes:
>
>>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...
>
>There is nothing wrong with this method, in fact a number of systems do
>it this way. It's just that OSF has chosen not to.
[example nixed]
While this should work for ps, I don't believe it will work for dxpause
on DEC OSF/1. This is because if you switch to enhanced security, the
database is actually read through a system (or library?) call, rather than
by directly reading the files in the database, and that call will return
only an error unless euid == 0. I think this is a somewhat poor design, BTW.
I was hoping to port xlock to OSF/1 w. enhanced security, but basically gave
up because that design choice would force me to make xlock suid to root,
which I don't trust it enough to do. I prefer the method that Sun chose
for Solaris 2 and NIS+, wherein users can see their own password (encrypted),
but no one else's, and xlock can run without setuid. I believe NIS+
achieves this with some sort of DES-based public-key authentication, so
even root can't poke at stuff you don't want it to. This solves the old
NIS problem where remote sites can grab your passwords just by guessing
your domain name.
comp.security.unix added to newsgroups:
---
Marc Fraioli | "They couldn't hit an elephant at this dist- "
mjf@clark.net | - Last words of Union General John Sedgwick,
| Battle of Spotsylvania Court House, U.S. Civil War
next prev parent reply other threads:[~1994-08-24 23:56 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
1994-08-24 20:16 ` Phil Knaack
1994-08-24 23:56 ` Marc Fraioli [this message]
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