Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Aug 1995 14:15:46 -0400 (EDT)
From:      Mark Hittinger <bugs@ns1.win.net>
To:        hackers@freebsd.org
Subject:   pwd_mkdb is intense
Message-ID:  <199508291815.OAA02459@ns1.win.net>

next in thread | raw e-mail | index | archive | help

We have a rather large password file and I can hear the system groaning
whenever someone changes their password.  Top shows the process go to
about 20-30% of the P90 for around 2 or 3 minutes.  Swap space in use
increases by around 15% during this period.

chpass/passwd all pass the buck to pwd_mkdb which recreates the entire
file.

Is there a utility which updates the various keys in the db for just one
particular user id?  Would the db routines that pwd_mkdb calls actually
support the in-place update of a particular record? :-)

Regards,

Mark Hittinger
bugs@win.net



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