Activities

April 2010
M T W T F S S
« Mar   May »
 1234
567891011
12131415161718
19202122232425
2627282930  

Sudo error: sudo: must be setuid root

I got this error when I try to execute the sudo command from user terminal.

[anoop@rc-155 ~]$ sudo /etc/init.d/httpd restart
sudo: must be setuid root

Solution:

The issue is with the file permission associate with sudo binary file.

#chown root:root /usr/bin/sudo
#chmod 4111 /usr/bin/sudo

This should be work for you.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>