[Solved]sudo:must be setuid root

Solution:

Just run these commands in the terminal,

chmod 4111 /usr/bin/sudo

chmod 0440 /etc/sudoers

If its not working fine, then simply restart and come back again by “recovery mode” and choose root and try the above commands again.

after the above commands run

sudo reboot

Then go with normal mode, now you wont get the error.

 

Thanks for reading this post………..!!!

Please leave a command to improve this site…………….!!!

 

One comment

  • Jignesh

    Try the way you mention but i got following error:-

    chmod: changing permissions of `usr/bin/sudo` : Read-only file system

Leave a Reply