Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2001 16:15:54 +0100
From:      Len Conrad <LConrad@Go2France.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   RE: Mail Server & Adduser
Message-ID:  <5.0.2.1.0.20010115161435.03e08cc0@mail.Go2France.com>
In-Reply-To: <6381A6A8826BD31199500090279CAFBA24F467@exchange.strategici t.net>

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

> > We have a file of 7-8k users and passwords (format is somewhat of 'user
> > pass   more info   more info   etc', however it's one user & password per
> > line, easily transforable to a script). We need a way to add a user in a
> > single command line. Adduser dosen't cut it and  pw does add a user ina
> > single command line, but dosen't include the password.

adduser is a PERL script.  Look in there to extract the bit that uses 
pw to script the account creation.

Len



http://BIND8NT.MEIway.com : Binary for ISC BIND 8.2.3 T9B for NT4 & W2K
http://IMGate.MEIway.com  : Build free, hi-perf, anti-spam mail gateways



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?5.0.2.1.0.20010115161435.03e08cc0>