From owner-freebsd-hackers Sat Jun 15 11:58:44 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA09007 for hackers-outgoing; Sat, 15 Jun 1996 11:58:44 -0700 (PDT) Received: from post.io.org (post.io.org [198.133.36.6]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id LAA09002 for ; Sat, 15 Jun 1996 11:58:42 -0700 (PDT) Received: from zap.io.org (taob@zap.io.org [198.133.36.81]) by post.io.org (8.7.5/8.7.3) with SMTP id OAA18423; Sat, 15 Jun 1996 14:56:50 -0400 (EDT) Date: Sat, 15 Jun 1996 14:57:58 -0400 (EDT) From: Brian Tao To: FREEBSD-HACKERS-L cc: guido@gvr.win.tue.nl Subject: Incremental [s]pwd.db updates? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk About 9 months ago, Guido van Rooij (guido@gvr.win.tue.nl) was working on a modification to pwd_mkdb that allows for incremental updating of the databases, for use with passwd/chfn/chsh and friends when only the record of one user needs changing. What is its current status? We are moving one of our authentication servers from a BSD/OS 2.0 machine (which does have incremental pwd.db updating) to a FreeBSD 2.2-SNAP machine (which does not). It currently contains 14271 lines, but will be growing to 150,000 or more before September. No problems with uids > 65536, but it takes a little over 4 minutes to rehash on an otherwise idle P100. With 150,000 users it will take the better part of an hour for each update. Is there any relatively stable code available for testing? I'd really rather not have to press a BSD/OS machine into service just for that one feature if I can get the same for FreeBSD (or NetBSD, for that matter). -- Brian Tao (BT300, taob@io.org, taob@ican.net) Systems and Network Administrator, Internet Canada Corp. "Though this be madness, yet there is method in't"