Subject: Re: pwd_mkdb
To: None <current-users@netbsd.org>
From: Takahiro Kambe <taca@sky.yamashina.kyoto.jp>
List: current-users
Date: 02/23/1999 00:10:31
In message <19990222164017.A28985@pyy.jmp.fi>
	on Mon, 22 Feb 1999 16:40:17 +0200,
	Jukka Marin <jmarin@pyy.jmp.fi> wrote:
> There's this NetBSD box with almost 6000 users.  A robot manipulates the
> account information several times every hour, which causes pwd_mkdb to
> recreate the user database.  This is _slow_.  Currently, the database is
> rebuilt for every modification separately and as one rebuild takes almost
> a minute....  This is on NetBSD 1.3.2.
One idea is incorporating "-u" option for pwd_mkdb(8) from FreeBSD, you
can only update the record for the specified user with "-u" option.

"-c", check option might be useful.

--
Takahiro Kambe <taca@sky.yamashina.kyoto.jp>