Was locking down root with the /etc/grub/00.header
command and didn't know to finish it so I rebooted the computer and now I can't get into my sudo
account.
Asked
Active
Viewed 44 times
1

Ron
- 20,638

Randol Albert
- 367
-
3possible duplicate of How do I add myself back as a sudo user? – karel Jul 27 '15 at 17:25
1 Answers
1
This can be easily undone. Boot into recovery mode using grub, and get to a terminal. Then type in
sudo usermod -U <username>
Where (<username>
) is your username. That should unlock your account.
-
No problem! Make sure to check that it worked, so anyone with this same problem can see this! – David Jul 28 '15 at 03:48