fixed passwd and groups variable
This commit is contained in:
parent
aa3e19fc8f
commit
e2a00b004b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user