Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Apr 1997 11:13:44 +0200 (SAT)
From:      keith waters <keith4@ilink.nis.za>
To:        freebsd-hackers@freebsd.org
Subject:   Unreasonable rebuild time on large password files
Message-ID:  <199704020913.LAA03056@ilink.nis.za>

next in thread | raw e-mail | index | archive | help
Hi all..

We've got rather a lot of users in our /etc/passwd and every time we change or add a password/login, we have to wait over TEN MINUTES for the 'database to rebuild'  [And yes, we have a pretty reasonably powerful machine]

This must be one of the worst cases of code/resourse optimisation, since changing a password means rebuilding EVERY SINGLE entry in the password databases.

Surely this can all be done with one quick write to the relevant files? 

Does anybody out there have a working solution ?  Please!

Thanks
Regards,
Keith Waters
(Interlink Internet Services)

[Please preferably use keith@nis.za]




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704020913.LAA03056>