From owner-freebsd-hackers Tue Aug 29 11:10:37 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id LAA17773 for hackers-outgoing; Tue, 29 Aug 1995 11:10:37 -0700 Received: from ns1.win.net (ns1.win.net [204.215.209.3]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id LAA17766 for ; Tue, 29 Aug 1995 11:10:34 -0700 Received: (from bugs@localhost) by ns1.win.net (8.6.11/8.6.9) id OAA02459 for hackers@freebsd.org; Tue, 29 Aug 1995 14:15:48 -0400 From: Mark Hittinger Message-Id: <199508291815.OAA02459@ns1.win.net> Subject: pwd_mkdb is intense To: hackers@freebsd.org Date: Tue, 29 Aug 1995 14:15:46 -0400 (EDT) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 576 Sender: hackers-owner@freebsd.org Precedence: bulk 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