adding a large number of new users

I am trying to find out how to add a large number of users in Ubuntu using a bash script, like for a college with over 1000 students. I am fairly new to Ubuntu and I would really appreciate any help.

Can you provide a little more info, like where are the usernames going to come from… a file?

If so, how is the file formatted?

Do passwords have to be automatically generated for first login (which they can then change)… or will they come from the file?

You could take a look at these:
(I have NOT tested these scripts/methods, so use at your own risk)

and
http://www.linewbie.com/2007/11/using-bash-script-to-mass-create-users-and-change-passwords.html
and
https://lists.ubuntu.com/archives/edubuntu-devel/2006-January/001020.html