Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Sep 1998 00:45:05 -0400 (EDT)
From:      Satya Devireddy <satya@dspsoft.com>
To:        Paul Stewart <paul@kawartha.com>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: Adding Hundreds Of Users
Message-ID:  <Pine.BSF.4.02A.9809300038140.20723-100000@srv.kapmail.com>
In-Reply-To: <Pine.BSF.3.96.980929081610.13974A-100000@shell.kawartha.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



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