This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

Somewhat similar thing for people using mac

Posted by: Anonymous [ip: 66.92.90.34] on November 07, 2007 09:26 PM
From my description:
This script was written to add users in a batch to an Open Directory LDAP server on Max OSX 10.4.

It expects a list of people to add in the form of First Name [TAB] Last Name [TAB] password [TAB] age. You can modify this to suit your needs; I needed to set groups based on the user's age, but you can do it however you need.

I had to install gcc via the xtools package (available for free from ADC) in order to compile Text::Unidecode --

http://pastebin.ca/765139

#

Return to Automated user management with Expect