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

This question already has an answer here:

How to add a new user in Ubuntu 12.04, and how i give them a root user privileges

share|improve this question

marked as duplicate by Eliah Kagan, Seth, Raja, con-f-use, belacqua Apr 2 '13 at 17:41

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.

Server or desktop? And this will have been asked before ... See... – Rinzwind Apr 2 '13 at 13:04
up vote 2 down vote accepted

With 12.04 and later

If the user already exists

sudo  usermod -aG sudo <username>

To create the user

adduser <username> --group sudo 

replace username with the name of the user and remove < >

share|improve this answer

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