Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!news.radio.cz!newsbastard.radio.cz!news.radio.cz!CESspool!news.uoregon.edu!tezcat!cam-news-hub1.bbnplanet.com!news.bbnplanet.com!howland.erols.net!newsserver.jvnc.net!newsreader.jvnc.net!not-for-mail From: John Lucas <jlucas@jnet.vi> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Large passwd files = long rebuilds Date: Tue, 18 Mar 1997 12:08:20 -0400 Organization: University of the Virgin Islands Lines: 31 Message-ID: <332EBDF4.2781E494@jnet.vi> References: <332E7A71.3BB7@ilink.nis.za> NNTP-Posting-Host: lazlo.uvi.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 2.01 (X11; I; FreeBSD 2.1.0-RELEASE i386) Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37360 Keith Waters wrote: > > Hi there. > > Does anybody else get irritated with the fact that every time you > change a password on a FreeBSD system that has a lot of users (>10000) > it takes FOREVER to rebuild the password database? > > Does anybody have a work-around for this? > I too find this annoying. So far the only relief I have gotten is to run on really fast hardware (P5-200, Ultra-Wide SCSI drive) :-} I run an email host with 3200 accounts that has a turnover of about 650 accounts per semester. I create master.passwd entries offline for all additions (requires only a single rebuild for all accounts added with "vipw"). For mass removals I run single-user and work offline on a copy of the master.passwd file and again only a single update is required for all removals (of course the user files/directories have to added and removed too). None of this helps the general case of users changing their passwords individually. I would love a password database that could be incrementally updated, but until one shows up, I struggle along. -- | John Lucas jlucas@jnet.vi | | Information Technology NIC Handle: JL423 | | University of the Virgin Islands (809) 693-1216 | | St. Thomas, VI 00802 http://www.jnet.vi/jlucas.html |