Greetings,
I'm looking for a way to track information about users and to
automatically update the passwd files on two Red Hat 5 boxes based on
this data.
We give web space and e-mail accounts to school districts in the area
and need a way to keep track of which users are from which district,
what kind of an account they have, etc. We also need to be able to
import a large number of users based on a text file containing the
details of each account.
I have looked at packages for ISP's, but we really don't need anything
like that. All of our clients are on LANs connected the the Internet,
so we don't need to track time online, etc. We just don't want to
have to manually enter, delete, or modify large groups of users.
If something like this doesn't exist, I can probably write something
that would do it, but I'm having trouble with the password. I can
read each line of the import file, parse it, and fill in the blanks in
the passwd file, but what do I do about the password field? We are
using shadow passwords. Is there a way I can just call the change
password command and pass the input (both times) to it?
I plan on using a database package to keep track of the additional
fields I need and generating the import file based on changes made to
this database to perform whatever functions that need to happen.
Any help on getting started would be greatly appreciated.
--James