My admin account has been deleted.

This was because I had to use the dell recovery after a problem after one of the updates provided by Ubuntu.

Now I only have the guest account.

How do I go about creating a admin account for my Ubuntu system?.

  • What version of Ubuntu are you using?
    – Phil UK
    Mar 31, 2017 at 2:28
  • It is Ubuntu 14.04 Apr 5, 2017 at 18:08

1 Answer 1


First add a user name through this command

adduser <username>

You can then add a user to the sudo group with with the command:

sudo adduser <username> sudo

Note that versions of Ubuntu until 11.10 will use admin as group instead of sudo

  • It is not working. The reply is besh: username: No such file or directory Apr 5, 2017 at 18:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .