changed static username by passwd to user input var
This commit is contained in:
parent
e2a00b004b
commit
c0bfab769d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user