1

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.

Ron
  • 20,518
  • 6
  • 57
  • 72
Randol Albert
  • 357
  • 2
  • 3
  • 16
  • 3
    possible duplicate of [How do I add myself back as a sudo user?](http://askubuntu.com/questions/70442/how-do-i-add-myself-back-as-a-sudo-user) – karel Jul 27 '15 at 17:25

1 Answers1

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.

Tim
  • 32,274
  • 27
  • 118
  • 177
David
  • 3,317
  • 11
  • 34
  • 56
  • 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