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 thoughts on “sudo: must be setuid root”

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


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

Leave a Reply

Your email address will not be published.

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