diff options
Diffstat (limited to 'gohan.sh')
| -rwxr-xr-x | gohan.sh | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -83,6 +83,11 @@ get_username_and_password() { done } +configure_sudo() { + install_from_pacman sudo + [ -f /etc/sudoers ] && sed -i "s/# %wheel ALL=(ALL) NOPASSWD: ALL/%wheel ALL=(ALL) NOPASSWD: ALL/" /etc/sudoers +} + # Sets up the home directory for the user account. setup_user_home_directory() { clean_user_home_directory @@ -119,6 +124,8 @@ install_dependancies add_user +configure_sudo + setup_user_home_directory install_yay |
