From 4d22f5f9e4c94bd67891749e7d50a57dc331a0bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yi=C4=9Fit=20=C3=87olako=C4=9Flu?= Date: Wed, 31 Mar 2021 15:13:46 +0300 Subject: [PATCH] Modular Install script --- arch-setup/chroot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch-setup/chroot.sh b/arch-setup/chroot.sh index a14d895f..5a448cc5 100755 --- a/arch-setup/chroot.sh +++ b/arch-setup/chroot.sh @@ -168,9 +168,9 @@ EOF fi mkdir -p /etc/sudoers.d -echo "$username $hostname =NOPASSWD: /usr/bin/systemctl poweroff,/usr/bin/systemctl halt,/usr/bin/systemctl reboot,/usr/bin/systemctl hibernate" >> /etc/sudoers.d/wheel +echo "$username $hostname =NOPASSWD: /usr/bin/systemctl poweroff,/usr/bin/systemctl halt,/usr/bin/systemctl reboot,/usr/bin/systemctl hibernate" > /etc/sudoers.d/wheel echo "Defaults env_reset,pwfeedback" >> /etc/sudoers.d/wheel -echo "%wheel ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/nopwd +echo "%wheel ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/nopwd sudo -u $username bash -c "git clone https://aur.archlinux.org/yay.git /tmp/yay"