larbs

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

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

sudoers fix

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

diff --git a/root.sh b/root.sh @@ -110,9 +110,10 @@ curl http://lukesmith.xyz/larbs/user.sh > /home/$USER/user.sh 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/user.sh -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 https://raw.githubusercontent.com/LukeSmithxyz/LARBS/master/sudoers > /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