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.

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
    
Server or desktop? And this will have been asked before ... See... askubuntu.com/questions/132186/create-a-new-user-in-12-04?rq=1 –  Rinzwind Apr 2 '13 at 13:04
add comment

marked as duplicate by Eliah Kagan, Seth, raaz, 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.

1 Answer

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

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