->
I had encountered this problem on sudo/gksu not working few months earlier.
Whenever I had to open an application with gksu it did not open at all ! I was wondering what did i do. I dint know whether i meddled with something or is it any other configuration that created the problem.
If I type sudo in terminal i get “sudo: must be setuid root”
This is how I went about fixing it:-
chmod 4755 /usr/bin/sudo If the command perfectly happens then as far I am able to tell sudo and gksu should work correctly.If anyone of you are still having problems regarding this issue please post it in comments
If you enjoyed this post, make sure you subscribe to my RSS feed!
It doesn’t have to be 4755, 4111 should work fine.
It may sound strange:
I did both this:
chown root:root /usr/bin/sudo
and
chmod 4755 /usr/bin/sudo
However, it still doesn’t work, as I keep getting the:
sudo: must be setuid root
message.
Uh, and also ‘su’ has problem, as it fails logging in even if the password is correct.
Thanks in advance.
Hi,
i have same problem ie sudo: must be setuid root
when i type
node2@node2-prudence:~$ su password
Unknown id: password
node2@node2-prudence:~$ chmod 4755 /usr/bin/sudo
chmod: changing permissions of `/usr/bin/sudo’: Operation not permitted
how to remove it
Thanks
Ramakrishnan
THanks Your’ perfect!!! i have been 27 years searching for this yo are the unic guy that helps me thanks