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