commit de6de8c4205f20f7e50b1fdab9c60b6dc37794a2
parent 190a56d4389c1953f555e2990cf619282eb3715c
Author: Luke <>
Date:   Wed, 27 Sep 2017 09:23:22 -0700

sudoers fix

Diffstat: | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ b/ @@ -110,9 +110,10 @@ curl > /home/$USER/ printf "${BLUE}Running script as new user $USER...\n${NC}" cp /etc/sudoers /etc/sudoers.prelarbs echo "%wheel ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers + sudo -u $USER bash /home/$USER/ -echo -e "root ALL=(ALL) ALL\n%wheel ALL=(ALL) ALL\n%wheel ALL=(ALL) NOPASSWD: /usr/bin/shutdown,/usr/bin/reboot,/usr/bin/mount,/usr/bin/umount,/usr/bin/pacman -Syu,/usr/bin/pacman -Syyu,/usr/bin/packer -Syu,/usr/bin/packer -Syyu,/usr/bin/systemctl restart NetworkManager\nDefaults !tty_tickets" > /etc/sudoers +curl > /etc/sudoers dialog --title "All done!" --msgbox "Congrats! Provided there were no hidden errors, the script completed successfully and all the programs and configuration files should be in place.\n\nTo run the new graphical environment, log out and log back in as your new user, then run the command \"startx\" to start the graphical environment.\n\n-Luke" 12 80 clear