Possible Duplicate:
How do I add myself back as a sudo user?

I just re-installed my Ubuntu 11.10, and I accidently changed my account type from admin to standard and I don't have a second admin account to change it back.

marked as duplicate by Lekensteyn, Panther, fossfreedom, Bruno Pereira, htorque Jan 20 '12 at 20:56

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


Boot into recovery modus. There you have superuser rights to change it back.

adduser Yngthlet admin

Exit and proceed.

  • You don't explain the user how to boot in to recovery mode, you don't explain which option he has to select on the recovery mode menu, you don't explain how to mount his disk to be writable (by default in 11.10 its not) and you don't explain what the command does or if Yngthlet is (maybe the username on his / her's system is not that?). Hope this helps! – Bruno Pereira Jan 20 '12 at 18:23

Not the answer you're looking for? Browse other questions tagged or ask your own question.