From c0bfab769d28ae5d1c9d80f794d90f0a3c7395e9 Mon Sep 17 00:00:00 2001 From: silvernode Date: Fri, 11 Mar 2016 16:09:42 -0700 Subject: [PATCH] changed static username by passwd to user input var --- Bash Scripts/adduser.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bash Scripts/adduser.sh b/Bash Scripts/adduser.sh index ed864a2..5912e02 100755 --- a/Bash Scripts/adduser.sh +++ b/Bash Scripts/adduser.sh @@ -27,7 +27,7 @@ Create_user(){ echo "${addgroups}" read -n 1 -p "wait" useradd -m -g users -G "${addgroups}" -s /bin/bash ${uname} - passwd mollusk + passwd "${uname}" echo if [ -d /home/${uname} ];then