From: Mark Rafn <markr@accoutrements.com>
Subject: chown not clearing SUID (Re: x windows)
Date: Wed, 18 Dec 1996 12:10:21 -0800 (PST) [thread overview]
Message-ID: <Pine.SCO.3.93.961218120213.28162B-100000@octopus> (raw)
In-Reply-To: <Pine.OSF.3.93.961218054602.21917A-100000@alpha.bgsu.edu>
> 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
parent reply other threads:[~1996-12-18 20:10 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <Pine.OSF.3.93.961218054602.21917A-100000@alpha.bgsu.edu>]
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