[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 15.000 users




On Thu, 3 Jul 1997, Constantin Eizner wrote:

> Hi all!
> I need to put to /etc/passwd about 15.000 logins. (It's RADIUS server
> for remote access). How can it influence the speed of login process.
> Is there some another format or way to store /etc/passwd to increase 
> the speed of login process?

the normal idea would be to use something like 'makemap' to translate
/etc/passwd (+ shadow file, if in use) into dbm files , and modifying
login's source to read those files instead of /etc/passwd.

then modify the 'passwd' utility and your user account creation programs,
to call this makemap utility after every change.

still many programs will access passwd (pop server, the radius server
itself, etc.) either modify them too, or modify the 'getpwnam' call in the
standard C library to use your dbm files (unless you find that someone has
allready done that).

guy


Follow-Ups: References: