sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set

Hov solve this problem? I try set chown and chmod but terminal return me error:

chown: cannot access '/bin/sudo': No such file or directory

How fix this?

marked as duplicate by Panther, Pilot6, karel, Terrance, user68186 Jul 24 '17 at 20:14

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    The error is /usr/bin/sudo not /bin/sudo – NerdOfLinux Jul 24 '17 at 18:25
  • what? how fix this? – overFlow Jul 24 '17 at 18:28
  • Always best to post all the command you ran, not just partial output. Also, how did this happen? Sort of suggests you have been altering system files and I worry you have more extensive problems. – Panther Jul 24 '17 at 18:29
  • I set only: chown -R myUser:myUser bin – overFlow Jul 24 '17 at 18:31
  • @overFlow That was enough to ruin your system. – Pilot6 Jul 24 '17 at 18:31

Browse other questions tagged or ask your own question.