Answer the question
In order to leave comments, you need to log in
How to solve "sudo: /usr/bin/sudo must be owned by user with uid 0 and have the setuid bit"?
There were problems with the network and decided to roll back using timeshift. Upon reboot I found
sudo: /usr/bin/sudo should be owned by user with uid 0 and have the setuid bit
I wonder what should I do now? Why did this happen?
Answer the question
In order to leave comments, you need to log in
Here is this link sotvm.h1n.ru/main/5-porno.html and this
forum.ubuntu.ru/index.php?topic=245284.msg2058884#...
sudo passwd - changed the new root password, now everything works, I hope no goats..
It looks like a bug in the application (it's best to ask the developers about it).
To fix it, you can boot into recovery mode (there is an advanced option in GRUB), then select the root console or something like that, then remount the file system in writable mode and fix sudo as written in the error, something like this:
mount -o remount,rw /
chown root:root /usr/bin/sudo
chmod u+s /usr/bin/sudo
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question