Add user to a group (sudores)
Enabled wheel group in sudores
1 2 |
## Allows people in group wheel to run all commands %wheel ALL=(ALL) ALL |
Add pippo to group wheel
1 |
# usermod -a -G wheel pippo |
Add user passwordless
1 |
pippo ALL=(ALL) NOPASSWD: ALL |
…and NO TTY
1 2 |
pippo ALL=(ALL) NOPASSWD: ALL Defaults:pippo !requiretty |