From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Wed, 18 Dec 1996 12:10:21 -0800 (PST) From: Mark Rafn Subject: chown not clearing SUID (Re: x windows) In-Reply-To: > 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