The command "/usr/sbin/useradd" is the interface to create/manage users accounts in linux.
You need a input file with user information (login name, password, full user name, ...) and iterate over this file. Something like that:
Code:
for line in $(cat /tmp/user.data); do
user=$(echo $line | awk -F: '{print $1}')
echo -n "Creating user $user..."
password=$(echo $line | awk -F: '{print $2}')
fullname=$(echo $line | awk -F: '{print $3}')
useradd blah blah blah....
echo " done."
done
You need to refinate this, add some checks, but you got the idea.
good luck
PS: Start with a small set of test users, John Doe One, John Doe Two, John Doe three in the input file. When your script is ready, you can start the real thing.