All of a sudden, when I am trying to sudo a command, I am told my user account doesn’t belong to the sudoers group.
I lost all sudo privileges and have no idea how this was possible since I have not issued any commands that would take me away from this group.
The little I can do on the machine right now to investigate what could possible have gone wrong, doesn’t help much. I am still listed on /etc/passwd as a 1000:1000 UID/GID user. So that’s ok. I can also see in /etc/group my user group. So nothing out of the ordinary here. On the Panel, under System > Administration > Users and Groups, I can click the Manage Groups button and when I scroll down to the sudo group and hit Properties, I can see my user name, but it is not checked.
I cannot login as root, and all dialog boxes asking me for authentication for privilege escalation fail.
What can I do? What happened? Is the sudoers file corrupt? What? Please don’t tell me I have to reinstall the operating system! I just don’t have the internet to do it. At 60 USD for 2GB over here in Angola, having to reinstall Ubuntu is impossible at this point.