From 529cd5d9362817f95582eb40dbd42c533072cb53 Mon Sep 17 00:00:00 2001 From: Baltrust Date: Wed, 14 Oct 2026 15:23:14 +0300 Subject: [PATCH] Update after.sh --- after.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/after.sh b/after.sh index c2b5254..9e719ac 100644 --- a/after.sh +++ b/after.sh @@ -65,6 +65,15 @@ install -d -o "$USERNAME" -g "$USERNAME" /home/tadas/.config/yay su - "$USERNAME" <<'EOF' git clone https://aur.archlinux.org/yay-bin.git cd yay-bin +# +# LIMIT TESTING +echo "USERNAME=$USERNAME" +cat /etc/sudoers.d/99-install-script +runuser -u "$USERNAME" -- sudo -n true \ + && echo "Passwordless sudo works" \ + || echo "Passwordless sudo FAILED" +############################################# + makepkg -si --noconfirm # Set up yay to not ask for password multiple times