Skip to content

Instantly share code, notes, and snippets.

View impressto's full-sized avatar

Peter Drinnan impressto

  • Ottawa, Canada
View GitHub Profile
@zuhairkareem
zuhairkareem / sudo_error.md
Last active August 4, 2022 17:38
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set error in Ubuntu 18.04

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

To fix

  1. If root user is not set, goto recovery mode, select drop as root shell prompt, then it will goto root prompt, run
mount -o remount,rw /