16

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?

static
  • 1,337
  • 5
  • 18
  • 29

1 Answers1

32

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

martintama
  • 471
  • 4
  • 4