aboutsummaryrefslogtreecommitdiff
path: root/boobs.sh
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2023-03-08 17:31:13 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2023-03-08 17:31:13 +0300
commitfe447a5e2faa6f32072fec596a8f6031b76dc5ea (patch)
tree7cbb73012fe31b4361b6f2fc52d36cbe665567b5 /boobs.sh
parentd5e7a410e61ef9dd6c6ece6e3b420dbc0f1d252c (diff)
downloadboobs-fe447a5e2faa6f32072fec596a8f6031b76dc5ea.tar.gz
boobs-fe447a5e2faa6f32072fec596a8f6031b76dc5ea.zip
Change no-password sudo commands
Diffstat (limited to 'boobs.sh')
-rwxr-xr-xboobs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/boobs.sh b/boobs.sh
index a56df17..96c89fb 100755
--- a/boobs.sh
+++ b/boobs.sh
@@ -258,7 +258,7 @@ putdotfiles "$dotfilesrepo" "$repobranch"
# 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/00-boobs-wheel-can-sudo
-echo "%wheel ALL=(ALL:ALL) NOPASSWD: /usr/bin/pacman -Syu,/usr/bin/pacman -Syyu,/usr/bin/pacman -Syyu --noconfirm,/usr/bin/loadkeys,/usr/bin/pacman -Syyuw --noconfirm,/usr/bin/pacman -S -u -y --config /etc/pacman.conf --,/usr/bin/pacman -S -y -u --config /etc/pacman.conf --" >/etc/sudoers.d/01-boobs-cmds-without-password
+echo "%wheel ALL=(ALL) NOPASSWD: /usr/bin/pacman -Sy,/usr/bin/pacman -Syy,/usr/bin/pacman -Syuw,/usr/bin/pacman -Syyuw,/usr/bin/pacman -Syuw --noconfirm,/usr/bin/pacman -Syyuw --noconfirm" >/etc/sudoers.d/01-boobs-cmds-without-password
echo "Defaults editor=/usr/bin/nvim" >/etc/sudoers.d/02-boobs-visudo-editor
# Last message! Install complete!