Before anything I know that there is a similar question HERE.
When I execute:
sudo bash
I get the following error:
/usr/bin/sudo must be owned by uid 0 and have the setuid bit set
However, there is a difference in my problem that does not permit me to solve it using that solution proposed as follows:
1. Log out as the current user, then log back in as root.
2. Execute chown root:root /usr/bin/sudo && chmod 4755 /usr/bin/sudo
3. Log out as root, then log back in as the current user.
Because I cannot log in as root.
My question is how can I log in as root to do first step ?
i.e. 1. Log out as the current user, then log back in as root.
pkexec
instead ofsudo
or did you break that one too? – Byte Commander May 09 '18 at 12:23ll /usr/bin/sudo
– WinEunuuchs2Unix May 09 '18 at 12:34ll /usr/bin/sudo
what does it mean ? could you please explain a bit more ? – Questioner May 09 '18 at 14:02