changed sudoers permissions

This commit is contained in:
Dorian
2021-11-29 02:02:26 -05:00
parent 69520c2e14
commit 85309e2977

View File

@@ -257,8 +257,7 @@ pkill -15 -x 'pulseaudio'; sudo -u "$name" pulseaudio --start
# This line, overwriting the `newperms` command above will allow the user to run # This line, overwriting the `newperms` command above will allow the user to run
# serveral important commands, `shutdown`, `reboot`, updating, etc. without a password. # serveral important commands, `shutdown`, `reboot`, updating, etc. without a password.
newperms "%wheel ALL=(ALL) ALL #KARBS newperms %wheel ALL=(ALL) NOPASSWORD: ALL #KARBS
%wheel ALL=(ALL) NOPASSWD: /usr/bin/shutdown,/usr/bin/reboot,/usr/bin/systemctl suspend,/usr/bin/wifi-menu,/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,/usr/bin/rc-service NetworkManager restart,/usr/bin/pacman -Syyu --noconfirm,/usr/bin/loadkeys,/usr/bin/paru,/usr/bin/pacman -Syyuw --noconfirm"
# Last message! Install complete! # Last message! Install complete!
finalize finalize