Fedora 25 - Fix broken sudo
Somehow, permission in my Fedora got messed up. I don't see root is owner of /usr/bin/sudo directory and I am not able to execute any command using sudo. I am trying to find a solution but the solution I am seeing Ubuntu specific. Can some one please provide me steps to fix in Fedora.
Error:
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
Do you have some other way than sudo to get root access? Root privileges of some form are certainly necessary for fixing those sudo permissions.
Try ctrl-alt-f2 to get to text terminal, login as root, and correct the permissions settings from there.