From owner-freebsd-isp Tue Sep 29 21:43:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA20036 for freebsd-isp-outgoing; Tue, 29 Sep 1998 21:43:28 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from kapmail.com (srv.kapmail.com [206.31.219.210]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id VAA20024 for ; Tue, 29 Sep 1998 21:43:23 -0700 (PDT) (envelope-from satya@dspsoft.com) Received: (qmail 20829 invoked from network); 30 Sep 1998 04:45:05 -0000 Received: from simba.dspsoft.com (206.31.219.210) by simba.dspsoft.com with SMTP; 30 Sep 1998 04:45:05 -0000 Date: Wed, 30 Sep 1998 00:45:05 -0400 (EDT) From: Satya Devireddy X-Sender: satya@srv.kapmail.com To: Paul Stewart cc: 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 > I'm looking for a simple method of adding hundreds of users to a FreeBSD > box. I can obtain a listing of username, password (one to each line in a > text file) by exporting a database on another O/S. Can this be pumped > into a simple script or does adduser itself accept complete command line > variables? 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. This was due to the password database being rewritten for everyuser. -Satya To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message