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

i had accidentally deleted the admin account. i am using the system from standard how to recover the administrator account which i had deleted, please do favour me in resolving this isssue.

share|improve this question
Please tell us what you have done exactly. You can't delete the root account. – prophecy201 Apr 9 '13 at 13:04

Ceate a new account with useradd <user>. After creating an account with useradd, you have to create a password for the user with passwd <user>. Then type the Password twice.

If you use adduser <user> ist will ask you for a password while creating the user.

Take a look at the help (adduser --help) for more options.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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