Regain Sudo rights after removing from admin group
- by berkes
Hello,
I accidentally removed myself from the admin group when editing the user. Now I can no longer use sudo. The error says: ber is not in the sudoers file. This incident will be reported.
I booted up in rescue mode, but, when going into root prompt, it asks me for the root password. I don't have one, and providing with my own (first and only ubuntu-user) password, it won't allow entrance.
My harddisk is encrypted, but only the /home/user part, not the entire disk, afaik.
What can I do?