From e2a00b004b7194620126930390e52fcf084a3fb8 Mon Sep 17 00:00:00 2001 From: silvernode Date: Fri, 11 Mar 2016 16:07:05 -0700 Subject: [PATCH] fixed passwd and groups variable --- Bash Scripts/adduser.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Bash Scripts/adduser.sh b/Bash Scripts/adduser.sh index 1fc0817..ed864a2 100755 --- a/Bash Scripts/adduser.sh +++ b/Bash Scripts/adduser.sh @@ -26,8 +26,8 @@ Create_user(){ fi echo "${addgroups}" read -n 1 -p "wait" - useradd -m -g users -G ${dgroups} -s /bin/bash ${uname} - passwd + useradd -m -g users -G "${addgroups}" -s /bin/bash ${uname} + passwd mollusk echo if [ -d /home/${uname} ];then