I'm trying to add a user to the sudoers file with the simple command
sudo adduser username admin
but I get adduser: The group 'admin' does not exist
. So I checked out the sudoers file (sudo visudo -f /etc/sudoers
), which contains among others, this line:
%admin ALL=(ALL) ALL
which as far as I know means that the admin group exists.
So what am I missing here?