super user

Asked by adom he

hi i recently tried to add a guest accout on my computer...ubuntu 11.04 and accidently cnanged from administrator account to standard...now its asking me for a super user account password can u help me out? what is a super user account password

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu sudo Edit question
Assignee:
No assignee Edit question
Solved by:
Eliah Kagan
Solved:
Last query:
Last reply:
Revision history for this message
Best Eliah Kagan (degeneracypressure) said :
#1

Administrative tasks, including running programs as root (the superuser) are accomplished in Ubuntu by being logged in as an administrator and entering that administrator's password. See https://help.ubuntu.com/community/RootSudo.

If you have forgotten your password, you can reset it by following the instructions at http://www.psychocats.net/ubuntu/resetpassword.

If you have accidentally removed administrative rights from your account and there is no other administrative account to log in as to fix the problem, then you can give yourself back administrative rights by following the procedure for resetting your password, but don't run

passwd username

...instead, run:

usermod -a -G admin username

Where "username" is of course replaced by your actual username, as explained on that page.

That is usually sufficient. If that procedure doesn't work or you have trouble with it, please feel free to post a reply so we can continue working on the problem.

Revision history for this message
adom he (doobapooba1) said :
#2

Thanks Eliah Kagan, that solved my question.