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

Issues Description

I made a mistake when remounting /usr in this article without -a option to copy files. So I write this article to record the way to solve this issue.


The only method came to my mind is to change fstab file back. But I can not grab root authentication. So, the only way is to modify fstab file in recovery mode.

Use recovery mode to solve this issue

  1. Switch on your computer.
  2. Wait until the BIOS has finished loading, or has almost finished. (During this time you will probably see a logo of your computer manufacturer.)
  3. Quickly press and hold the Shift key, which will bring up the GNU GRUB menu. (If you see the Ubuntu logo, you’ve missed the point where you can enter the GRUB menu.)
  4. Select the line which starts with “Advanced options“.
  5. Select the line ending with “(recovery mode)“, probably the second line, something like:
    Ubuntu GNU/Linux, with Linux 3.8.0-26-generic (recovery mode)
  6. Press “e” to edit, and you will see something like this
  7. Replace ro recovery nomodeset with rw single init=/bin/bash.
  8. Press Ctrl + X to get into single user mode, and the user is root.
  9. Use vim /etc/fstab to modify fstab back.
  10. reboot.


电子邮件地址不会被公开。 必填项已用*标注

1 + 3 =

+ 12 = 21