创建userlist中的用户:

#!/bin/sh
for user_add in $(cat /root/Desktop/userlist)
do
useradd $user_add
echo '111111' | passwd --stdin $user_add
done