> I am interested in finding scripts and/or compilable tools that
> will ease user adds, mods and deletes from a radius user database. I
> want to a) not use system passwd facilities (i.e. no /etc/passwd, nis
> passwd or nis+ passwd) and b) I would like to be able to operate
> directly on the user dbm file. As the number of users in our database
> will grow into the thoudands, I don't want to do the equivalent of a
> makedbm every time 2 chars in the user database are changed (i.e. add
> one user and rebuild 10K entries). It will also become unfeasible to do
> rebuilds only every 4 hours, etc.. I could just write a suite of dbm
> tools to do this, but if someone has a better idea or has already done
> just that, it would save me time.
This sounds like a textbook application for Perl...if you've compiled DBM
support into your binary, you can use the opendbm()/closedbm() facility to
manipulate a DBM hash as an associative array.
// Matt Zimmerman Chief of System Management NetRail, Inc.
// mdz@netrail.net sales@netrail.net
// (703) 524-4800 [voice] (703) 524-4802 [data] (703) 534-5033 [fax]