Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 614 Bytes

how_to_add_sudoers.md

File metadata and controls

26 lines (17 loc) · 614 Bytes

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