Automated user management with Expect

Posted by Scott_Ruecker on Sep 26, 2007 11:43 AM EDT
Linux.com; By Sergio Gonzalez Duran
Mail this story
Print this story

At the large school in Mexico where I'm employed as a system manager, I proposed (and got) a Linux server to replace an old Windows 2000 file server and domain controller for the alumni. I then was faced with the task of adding 3,000 users to this new CentOS 5 server. I wasn't about to add thousands of users and their passwords one by one to the new Samba primary domain controller (PDC) system. With a little help from OpenOffice.org Calc, a utility called Expect, and shell scripts, I automated the process.

Full Story

  Nav
» Read more about: Story Type: News Story; Groups: Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.