I'm having issue adding a new user to ubuntu core.
I use
sudo adduser --extrausers USERNAME
and successfully created a user but I cannot run any sudo
command using that account.
$ sudo mkdir
[sudo] password for switchadmin:
switchadmin is not in the sudoers file. This incident will be reported.
sudo adduser USERNAME sudo
– Gunnar Hjalmarsson Dec 05 '17 at 07:47