* chown not clearing SUID (Re: x windows)
[not found] <Pine.OSF.3.93.961218054602.21917A-100000@alpha.bgsu.edu>
@ 1996-12-18 20:10 ` Mark Rafn
0 siblings, 0 replies; only message in thread
From: Mark Rafn @ 1996-12-18 20:10 UTC (permalink / raw)
> On Tue, 17 Dec 1996, Mark Rafn wrote:
> > > chmod a+s /usr/X11R6/bin/XF_xx
> > > chown root /usr/X11R6/bin/XF_xx
> > strike that; reverse it. chown removes the suid bit, so you have to do it
> > BEFORE the chmod.
On Wed, 18 Dec 1996, Nicholas Alexander Bastin wrote:
> I'm not sure why, but this actually WILL work the other way...
Really? On my UDB running RedHat 4.0 and kernel 2.0.25, chown definitely
removes the suid bit. I suppose it's not REALLY a security hole if yours
doesn't (because only root can do a chown anyway), but it's kind of
spooky.
--
Mark Rafn markr@accoutrements.com
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] only message in thread