I'm stuck trying to get sudo to work again after messing up file permissions
in /usr.

The permissions were (after screwing up many permissions):
-rwxr-xr-x 1 root bin /usr/bin/sudo

I get the following error from a non-root account when trying to use sudo
(sudo shutdown -r now, as a matter of fact):
setuid(0): Operation not permitted

I tried changing the setuid bit (both owner and group) to no avail.  I last
left it at:
-rwsr-sr-x 1 root bin /usr/bin/sudo

I am not very familiar with suid bits. I think I understand the use and
theory, but obviously understand enough to figure out what I'm doing wrong.

It just dawned on me, would there be something wrong with my permission on
the 'shutdown' command?

Adrian
-- 
Adrian Nagle             Ball Aerospace & Technologies Corp.
Thermal Engineer                               P.O. Box 1062
TEL: 303-939-6518                    Boulder, CO  80306-1062
FAX: 303-939-5166               http://www.ballaerospace.com

Reply via email to