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.

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

    如果您不嫌棄我的PR只有三

    可以跟您交換連結嗎???

  2. roga says:

    抱歉我只放親友的部落格或是我真正推薦的連結…

    不好意思…

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

  3. Cating says:

    Cool,
    要把sudo 搞壞也不容易呀

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

Leave a Reply

Your email address will not be published.