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
chownrather thanchmod. Even though the solution (reinstall) may be the same and it's in the same general category of questions, people will be encountering this independently of the chmod issue and it may even have different symptoms or error messages. – thomasrutter Dec 18 '17 at 23:21