sudo: must be setuid root

It’s a stupid problem..

I want to change the owner of certain directory under /usr, so I use the command “chown”: chown -R foo:bar /usr/some_dir, but I make a mistake :chown -R foo:bar /usr

when I wanted to use the “sudo” command, it leads the result:

sudo: must be setuid root

So, let’s fix this stupid problem..

chown root:root /usr/bin/sudo
chmod u+s /usr/bin/sudo

it’s worth to note.

3 comments on “sudo: must be setuid root
  1. 高藥師 says:



  2. roga says:



    您的 PageRank 3 已經算很高了,我這邊首頁也才 PageRank 5 而已…

  3. Cating says:

    要把sudo 搞壞也不容易呀

    我差點就要以為 這個blog 不能用中文了

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.