Super User is a question and answer site for computer enthusiasts and power users. 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 am trying to add a new admin user, but:

# adduser username admin
  adduser: The user `username' does not exist.
# man sudoers
  No manual entry for sudoers
# less /etc/sudoers
  /etc/sudoers: No such file or directory

The system is Debian 7 (Wheezy) What I'm doing wrong?

share|improve this question
    
Is the file there if you cd to /etc and use the ls command? – Davidw Jun 9 '13 at 20:34
1  
Is the sudo package actually installed? – eldering Jun 9 '13 at 21:53
up vote 8 down vote accepted

Sudo is not installed by default on Debian systems. You should issue as root:

apt-get install sudo

Other than that, adding a new user with a default group is done with:

useradd -G groupname username

share|improve this answer

You must log in to answer this question.

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