[CentOS] Fun with nosetuid!

Tue Jan 15 23:10:45 UTC 2008
Garrick Staples <garrick at usc.edu>

On Tue, Jan 15, 2008 at 05:55:55PM -0500, Scott Ehrlich alleged:
> On an unpatched Centos 4.4 system I chmod'd /usr/bin/sudo to ug+s, and set 
> the filesystem in /etc/fstab to defaults,nosetuid.  Reboot, and am told 
> sudo needs to be set to setuid root.
> 
> An ls -l shows rwsrws-- root root sudo
> 
> I had to use a rescue CD to undo /etc/fstab for the filesystem partition 
> so sudo would work.
> 
> What am I missing?

You enabled the "nosetuid" option a filesystem that has setuid applications and
it did what is was supposed to do.

What are you trying to accomplish?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20080115/6bc4f422/attachment-0005.sig>