Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

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

This question was marked as an exact duplicate of an existing question.

Take a look at this answer -… – jokerdino Jan 20 '12 at 15:50

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

adduser Yngthlet admin

Exit and proceed.

share|improve this answer
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.