This question already has an answer here:
I accidentally ran
sudo chown -R -v myuser:myuser /, essentially transferring
sudo to my own user by mistake. I meant to only take the current directory.
How do I recover from this? I stopped it after a few seconds, but running anything with
sudo now gives me:
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set