Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Sep 1999 17:52:47 +0100
From:      Josef Karthauser <joe@pavilion.net>
To:        slava <sl@zeus.dnt.md>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: pwd_mkdb /etc/master.passwd taking too long
Message-ID:  <19990920175247.G98803@florence.pavilion.net>
In-Reply-To: <Pine.BSF.4.05.9909201936001.40625-100000@zeus.dnt.md>
References:  <Pine.BSF.4.05.9909201936001.40625-100000@zeus.dnt.md>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 20, 1999 at 07:41:21PM +0300, slava wrote:
> 
> Greetings to all,
> 
> I have a free web based email service running on a 3.3-Release machine
> and when users open new acounts it takes about 25 sec. for pwd_mkdb
> to proccess the master.passwd file. And I only have 10,000 accounts
> on the system. All this time the user has to wait.
> 
> Can anyone suggest a way to accelerate this proccess?
> 
> thanks,
> slava revutchi

Take a look at the manual page:

     -u username
           Only update the record for the specified user.  Utilities that op-
           erate on a single user can use this option to avoid the overhead of
           rebuilding the entire database.


Joe
-- 
Josef Karthauser	FreeBSD: How many times have you booted today?
Technical Manager	Viagra for your server (http://www.uk.freebsd.org)
Pavilion Internet plc.  [joe@pavilion.net, joe@uk.freebsd.org, joe@tao.org.uk]


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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