From owner-freebsd-questions Mon Jan 15 7:17:53 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mgw1.MEIway.com (mgw1.meiway.com [212.73.210.75]) by hub.freebsd.org (Postfix) with ESMTP id 5112E37B402 for ; Mon, 15 Jan 2001 07:17:35 -0800 (PST) Received: from sv.Go2France.com (sv.meiway.com [212.73.210.79]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id 08DB46A907 for ; Mon, 15 Jan 2001 16:17:34 +0100 (CET) Message-Id: <5.0.2.1.0.20010115161435.03e08cc0@mail.Go2France.com> X-Sender: lconrad%Go2France.com@mail.Go2France.com X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Mon, 15 Jan 2001 16:15:54 +0100 To: freebsd-questions@FreeBSD.ORG From: Len Conrad Subject: RE: Mail Server & Adduser In-Reply-To: <6381A6A8826BD31199500090279CAFBA24F467@exchange.strategici t.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > 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