By mistake, I removed my own user from the "sudo" user group. Now, every time I try to sudo something, I get ... is not in the sudoers file. This incident will be reported.. I can't sudo anymore. How can I solve this?
If I run the command grep '^sudo:.*$' /etc/group | cut -d: -f4 to list all users in the sudo group as described here, the response is empty.