larbs

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 3a3560879ee3bb7c744e0c4944e9faa6211aad0d
parent 603b54590e7bddedf759e55446536fe9effc42bf
Author: Luke <luke@lukesmith.xyz>
Date:   Thu,  5 Oct 2017 00:23:36 -0700

sudoers cleanup

Diffstat:
Msudoers | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sudoers b/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