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

By

Shell/Bash Example: This is the "sudo: /usr/local/bin/sudo must be owned by uid 0 and have the setuid bit set" Example. compiled from many sources on the internet by SimpleTutorials.org

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

mount -o remount,rw /

mount --all

chown root:root /usr/bin/sudo

chmod 4755 /usr/bin/sudo

restart


* Summary: This "sudo: /usr/local/bin/sudo must be owned by uid 0 and have the setuid bit set" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others