til

Today I Learned: collection of notes, tips and tricks and stuff I learn from day to day working with computers and technology as an open source contributor and product manager

View project on GitHub

How to add sudoers

Since we should not run as root we need sudo and to add our user to the sudoers group. This is how you do it.

The prerequisite is that you have sudo installed and you are logged in as root.

$ usermod -aG sudo username

Example:

usermod -aG sudo pfalken

To verify issue the command: groups username and you should see sudo in the list.

groups pfalken
pfalken, sudo

Resources and References