Tuesday, April 3, 2007

Ubuntu Recovery

Got locked out of Ubutu login screens. To recover, hit escape at the beginning of the boot cycle to get a menu of boot options. Boot to recovery mode. In recovery mode, add a user by adduser [username]. then follow this post:

#addgroup –system admin
#visudo The sudoers file should then be edited to include:
%admin ALL=(ALL) ALL
#adduser username admin

in my case, the admin group already existed. so i skipped ahead to adduser [user] admin

No comments: