diff --git a/bin/first-install/create_user.sh b/bin/first-install/create_user.sh index 66a8854..3adb3ab 100644 --- a/bin/first-install/create_user.sh +++ b/bin/first-install/create_user.sh @@ -17,5 +17,6 @@ chsh -s /bin/bash $username echo "$username:$password" | chpasswd usermod -aG sudo $username +usermod -aG docker $username echo -e "${PURPLE}${BOLD}User '$username' created with password successfully.${RESET}" \ No newline at end of file diff --git a/bin/first_install.sh b/bin/first_install.sh index e66569f..9178906 100644 --- a/bin/first_install.sh +++ b/bin/first_install.sh @@ -9,26 +9,26 @@ fi echo -e "${PURPLE}${BOLD}Create a user ? (y/N) ${RESET}" read answer if [[ "$answer" == "y" ]]; then - . first-install/create_user.sh + . bin/first-install/create_user.sh fi # SSH echo -e "${PURPLE}${BOLD}Setup SSH ? (y/N) ${RESET}" read answer if [[ "$answer" == "y" ]]; then - . first-install/setup_ssh.sh + . bin/first-install/setup_ssh.sh fi # SWAP echo -e "${PURPLE}${BOLD}Add SWAP ? (y/N) ${RESET}" read answer if [[ "$answer" == "y" ]]; then - . first-install/add_swap.sh + . bin/first-install/add_swap.sh fi # FIREWALL AND FAIL2BAN echo -e "${PURPLE}${BOLD}Setup Firewall and Fail2ban ? (y/N) ${RESET}" read answer if [[ "$answer" == "y" ]]; then - . first-install/setup_firewall_fail2ban.sh + . bin/first-install/setup_firewall_fail2ban.sh fi \ No newline at end of file