Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Sep 1998 18:28:24 +1000 (EST)
From:      "Daniel O'Callaghan" <danny@hilink.com.au>
To:        Satya Devireddy <satya@dspsoft.com>
Cc:        Paul Stewart <paul@kawartha.com>, freebsd-isp@FreeBSD.ORG
Subject:   Re: Adding Hundreds Of Users
Message-ID:  <Pine.BSF.3.96.980930181541.11250A-100000@enya.hilink.com.au>
In-Reply-To: <Pine.BSF.4.02A.9809300038140.20723-100000@srv.kapmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Wed, 30 Sep 1998, Satya Devireddy wrote:

> use can use adduser or pw to addusers.
> 
> FYI
> 
> I did a test about 3 months back adding 10000 users.
> I took the script about aout 1.5 days to complete!!! (over the weekend)
> where as deleteing them took about 8hrs.
> 
> Initially it was fast adding about 1 user in about 1 or 2secs.
> In the end it was taking more than a minute.

If you have a very large list of users with associated passwords, it would
be much better to write a perl script which generated the appropriate
password file entries without doing the pwd_mkdb until the very end.
It's not that hard, especially if all of the user accounts are to be set
up in the same manner.

Danny


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980930181541.11250A-100000>