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 fi
echo "${addgroups}" echo "${addgroups}"
read -n 1 -p "wait" read -n 1 -p "wait"
useradd -m -g users -G ${dgroups} -s /bin/bash ${uname} useradd -m -g users -G "${addgroups}" -s /bin/bash ${uname}
passwd passwd mollusk
echo echo
if [ -d /home/${uname} ];then if [ -d /home/${uname} ];then