#!/bin/bash
CMD=$(which useradd)
for USER in "$@"; do
$CMD -m $USER
echo "$USER:$USER" | chpasswd
done