diff --git a/sudoers b/sudoers index 841d0c1..d3a0059 100644 --- 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