Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was installing GIT on my machine, when I sudo any thing, this error message appears:

sudo: must be setuid root 

I tried from recovery mode to change permissions of usr/bin/sudo by:

chown root:root /usr/bin/sudo
chmod 4755 /usr/bin/sudo
chmod 0440 /etc/sudoers

but the chown or chmod not working cause the file is read only.

share|improve this question

When starting in recovery mode your / file system is mounted read-only. So the first command must be

mount / -o remount,rw

after that the commands you found yourself will solve your problem.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.