diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2023-03-08 17:31:13 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2023-03-08 17:31:13 +0300 |
commit | fe447a5e2faa6f32072fec596a8f6031b76dc5ea (patch) | |
tree | 7cbb73012fe31b4361b6f2fc52d36cbe665567b5 /boobs.sh | |
parent | d5e7a410e61ef9dd6c6ece6e3b420dbc0f1d252c (diff) | |
download | boobs-fe447a5e2faa6f32072fec596a8f6031b76dc5ea.tar.gz boobs-fe447a5e2faa6f32072fec596a8f6031b76dc5ea.zip |
Change no-password sudo commands
Diffstat (limited to 'boobs.sh')
-rwxr-xr-x | boobs.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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! |