changed static username by passwd to user input var

This commit is contained in:
silvernode 2016-03-11 16:09:42 -07:00
parent e2a00b004b
commit c0bfab769d

View File

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