fixed passwd and groups variable

This commit is contained in:
silvernode 2016-03-11 16:07:05 -07:00
parent aa3e19fc8f
commit e2a00b004b

View File

@ -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