sudoers cleanup
This commit is contained in:
parent
603b54590e
commit
3a3560879e
1 changed files with 4 additions and 1 deletions
5
sudoers
5
sudoers
|
@ -82,10 +82,13 @@ root ALL=(ALL) ALL
|
|||
%wheel ALL=(ALL) ALL
|
||||
|
||||
## Same thing without a password
|
||||
#%wheel ALL=(ALL) NOPASSWD: ALL
|
||||
|
||||
##Here I give wheel users the ability to run core non-harmless commands without a password.
|
||||
%wheel ALL=(ALL) NOPASSWD: /usr/bin/shutdown,/usr/bin/reboot,/usr/bin/mount,/usr/bin/umount,/usr/bin/pacman -Syu,/usr/bin/pacman -Syyu,/usr/bin/packer -Syu,/usr/bin/packer -Syyu,/usr/bin/systemctl restart NetworkManager
|
||||
|
||||
#This keeps you from needing to reinsert your passwords in each different terminal a wheel user uses sudo in.
|
||||
Defaults !tty_tickets
|
||||
#%wheel ALL=(ALL) NOPASSWD: ALL
|
||||
|
||||
## Uncomment to allow members of group sudo to execute any command
|
||||
# %sudo ALL=(ALL) ALL
|
||||
|
|
Loading…
Reference in a new issue