2008
12.02

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 so far

Add Your Comment
  1. 如果您不嫌棄我的PR只有三

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

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

    不好意思…

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

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

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

:D :-) :( :o 8O :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>