Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
    
Take a look at this answer - askubuntu.com/questions/70442/… –  jokerdino Jan 20 '12 at 15:50
add comment

marked as duplicate by Lekensteyn, bodhi.zazen, 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.

1 Answer

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
add comment

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