Wednesday, January 18, 2012

Adding a new sudoer in Ubuntu

This is something I have to do from time to time, but not frequently enough that I manage to memorize it - but trivial enough that it annoys me to have to look it up every time.

Here's to future memory:
  1. create a new user `bob`
    sudo adduser bob
  2. check that the `admin` group is the one for the 'sudoers' on the machine
    sudo cat /etc/sudoers
  3. add Bob to the admin group
    sudo addgroup bob admin
done!

We've moved!
Please read the rest of this post on codetrips.com