Recently, I accidently lowered my privledges on Ubuntu. I was trying to add
vboxusers group to my account, and quickly googled to fund out I can add groups by
sudo usermod -G vboxusers USER
Unaware this would remove all my groups, I used this command and now I can't use
SUDO to change back because I am not an admin.
I already tried logging in as
root. it didn't work
This is the only user account on the machine. I need admin privledges. What do I do?