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