From owner-freebsd-isp Wed Sep 30 01:29:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA23039 for freebsd-isp-outgoing; Wed, 30 Sep 1998 01:29:53 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from enya.hilink.com.au (enya.hilink.com.au [203.8.14.116]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA23034 for ; Wed, 30 Sep 1998 01:29:49 -0700 (PDT) (envelope-from danny@enya.hilink.com.au) Received: from localhost (danny@localhost) by enya.hilink.com.au (8.8.8/8.8.7) with SMTP id SAA11328; Wed, 30 Sep 1998 18:28:24 +1000 (EST) (envelope-from danny@enya.hilink.com.au) Date: Wed, 30 Sep 1998 18:28:24 +1000 (EST) From: "Daniel O'Callaghan" To: Satya Devireddy cc: Paul Stewart , freebsd-isp@FreeBSD.ORG Subject: Re: Adding Hundreds Of Users In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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