diff --git a/rp-os-ae.sh b/rp-os-ae.sh index 08f0419..e6ebcfe 100644 --- a/rp-os-ae.sh +++ b/rp-os-ae.sh @@ -6,6 +6,7 @@ normal=$(tput sgr0) # ${normal} yellow=$(tput setaf 3) # ${yellow} sudo usermod -aG wheel "$USER" +sed -i 's/^# %wheel ALL=(ALL:ALL) NOPASSWD: ALL/%wheel ALL=(ALL:ALL) NOPASSWD: ALL/' /etc/sudoers # Installing packages @@ -52,6 +53,6 @@ SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$USER sudo cp -a archlinux-logo-text-dark.svg /usr/share/pixmaps/ sudo cp -a view-app-grid-symbolic.svg /usr/share/icons/Yaru/scalable/actions/ - + sed -i 's/^%wheel ALL=(ALL:ALL) NOPASSWD: ALL/# %wheel ALL=(ALL:ALL) NOPASSWD: ALL/' /etc/sudoers reboot \ No newline at end of file