I am running 12.04 LTS. It's a pretty default installation and is the only OS on this machine.
I have two users one has administrator rights the other does not. I accidentally removed administrator rights from the "admin" user.
I tried to add myself back as a sudo user but that requires reaching GRUB during boot but I cannot get there because my /etc/default/grub
has GRUB_HIDDEN_TIMEOUT=0
and changing that to a positive integer requires admin privileges to save the changes and run sudo update-grub
.
Should I boot from LiveCD? The Reasons for Using a LiveCD Session discouraged my a bit. Right now all I have handy is an install DVD from 11.10, but that did not help me much.
Not sure what to do now.
Any suggestions?
NOTE:
12.04 does not have an admin
group and I have not enabled root