Tuesday, July 10, 2012

Sorry, sudo must be setuid root.


Problem:

$ sudo su –

Sorry, sudo must be setuid root.

Solution:

Login to the server as root and do the following:

# chown root:root /usr/bin/sudo

# chmod 4111 /usr/bin/sudo

# ls -ld /usr/bin/sudo

---s--x--x 2 root root 174436 Sep 15  2010 /usr/bin/sudo

No comments:

Post a Comment