If you are making a script, is there a way for you to find the first and last (human) name of the student? If you can, then I suggest you use the first letter of their first name & their last name as the username. All in lowercase letter. Bassicaly, you would just smash the first letter, and last name and pipe that result through `tr [:upper:] [:lower:]` and you got the username. Instead of making random password, use somthing more simple for the students to remember. A good example is having the password their username+date of graduation. This is how my high school (Burnsville Senior High) does it (although we use windows servers, the username schema is similar.) Just remember to keep things simple, stupid. As of printing. I would make a template (simple ascii, stupid) with tags like $PASSWORD and $USERNAME that your script will replace. Then, depending on how you are going to print, send that to the spool. The important thing is to keep things stupid. Not everyone in high school knows what `login' means. I am even surprised you use Linux ;) Anyway, good luck. On Tue, Feb 03, 2004 at 10:53:18AM -0600, Tim Wilson wrote: > Hey everyone, > > I need to create about 2,000 user accounts, one for each student at our high > school. Their username will be their student id and I'll need to create a > random password too. (But I also need to be able to print out a little slip > of paper for each student that gives them their password.) > > Obviously I plan to script this, but I wonder if there are any words of > wisdom out there from more experienced admins than I. Are there some good > tools/scripts available? I will roll my own otherwise. > > -Tim > > -- > Tim Wilson > Twin Cities, Minnesota, USA > Educational technology guy, Linux and OS X fan, Grad. student, Daddy > mailto: wilson at visi.com aim: tis270 public key: 0x8C0F8813 > > > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > http://www.mn-linux.org tclug-list at mn-linux.org > https://mailman.real-time.com/mailman/listinfo/tclug-list -- andrei bazhgin | aftermath | programmer | nan2d.com _______________________________________________ TCLUG Mailing List - Minneapolis/St. Paul, Minnesota http://www.mn-linux.org tclug-list at mn-linux.org https://mailman.real-time.com/mailman/listinfo/tclug-list