Friday, October 27, 2017

Ubuntu Grant Sudo Access

I created a new Ubuntu user for a colleague using command "adduser username", but noted that the new user doesn't get sudo permissions by default (sensibly enough).  Easily rectified:

$ sudo usermod -a -G sudo username

Obviously in both cases replace "username" with the actual user's login.  The new user needs to log off and back on for the change to take effect (tested to confirm).

No comments: