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)