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?
Thanks.
Scott
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?