for i in `seq 10`
do
RAND=`openssl rand -hex 10`
useradd test$i && \
echo $RAND | passwd --stdin test$i && \
echo -e "user: test$i \t passwd: $RAND" >> /tmp/user.log
done
for i in `seq 10`
do
RAND=`openssl rand -hex 10`
useradd test$i && \
echo $RAND | passwd --stdin test$i && \
echo -e "user: test$i \t passwd: $RAND" >> /tmp/user.log
done