changed sudoers permissions
This commit is contained in:
3
karbs.sh
3
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
|
# 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
|
||||||
|
|||||||
Reference in New Issue
Block a user