Hi I'm trying to add myuser to sudoers after a fresh install with root account,
# adduser myuser admin
which gives:
adduser: the group `admin' does not exist.
however this works:
# adduser myuser root
but it doesn't make myuser a sudoer.
Furthermore, /etc/sudoers does contain these lines:
# User privilege specification
root ALL=(ALL:ALL) ALL
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
but pretty strange -- the file /etc/group doesn't contain admin.
Should I just manually edit it and add something like:
admin:x:120:myuser