From 85309e2977c78d947e4d6aaab19ac3d517619791 Mon Sep 17 00:00:00 2001 From: Dorian Date: Mon, 29 Nov 2021 02:02:26 -0500 Subject: [PATCH] changed sudoers permissions --- karbs.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/karbs.sh b/karbs.sh index b6e1b4d..646220b 100755 --- a/karbs.sh +++ b/karbs.sh @@ -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 # serveral important commands, `shutdown`, `reboot`, updating, etc. without a password. -newperms "%wheel ALL=(ALL) 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" +newperms %wheel ALL=(ALL) NOPASSWORD: ALL #KARBS # Last message! Install complete! finalize