Merge pull request #478 from appeasementPolitik/patch-1
Fix sudoers files order and change paru to yay
This commit is contained in:
commit
8886a4a589
1 changed files with 2 additions and 2 deletions
4
larbs.sh
4
larbs.sh
|
@ -294,8 +294,8 @@ EndSection' >/etc/X11/xorg.conf.d/40-libinput.conf
|
|||
|
||||
# Allow wheel users to sudo with password and allow several system commands
|
||||
# (like `shutdown` to run without password).
|
||||
echo "%wheel ALL=(ALL:ALL) ALL" >/etc/sudoers.d/larbs-wheel-can-sudo
|
||||
echo "%wheel ALL=(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/pacman -Syyu --noconfirm,/usr/bin/loadkeys,/usr/bin/paru,/usr/bin/pacman -Syyuw --noconfirm" >/etc/sudoers.d/larbs-cmds-without-password
|
||||
echo "%wheel ALL=(ALL:ALL) ALL" >/etc/sudoers.d/00-larbs-wheel-can-sudo
|
||||
echo "%wheel ALL=(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/pacman -Syyu --noconfirm,/usr/bin/loadkeys,/usr/bin/yay,/usr/bin/pacman -Syyuw --noconfirm" >/etc/sudoers.d/01-larbs-cmds-without-password
|
||||
|
||||
# Last message! Install complete!
|
||||
finalize
|
||||
|
|
Loading…
Reference in a new issue