From a2defe6825091283bfc4ecc83166aae0906e8289 Mon Sep 17 00:00:00 2001 From: RP1 Date: Sat, 21 Dec 2024 20:29:36 +0100 Subject: [PATCH] sudoers try again --- rp-os-ae.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rp-os-ae.sh b/rp-os-ae.sh index 7579cde..a45ed06 100644 --- a/rp-os-ae.sh +++ b/rp-os-ae.sh @@ -6,8 +6,7 @@ normal=$(tput sgr0) # ${normal} yellow=$(tput setaf 3) # ${yellow} - sudo sed -i 's/# %wheel ALL=(ALL:ALL) ALL/ %wheel ALL=(ALL:ALL) ALL/' /etc/sudoers - sudo sed -i 's/# %wheel ALL=(ALL:ALL) NOPASSWD: ALL/ %wheel ALL=(ALL:ALL) NOPASSWD: ALL/' /etc/sudoers + echo "$USER ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/99-t # Installing packages