From owner-freebsd-isp Tue Sep 29 12:05:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA17774 for freebsd-isp-outgoing; Tue, 29 Sep 1998 12:05:37 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from hp9000.chc-chimes.com (hp9000.chc-chimes.com [206.67.97.84]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA17740 for ; Tue, 29 Sep 1998 12:05:34 -0700 (PDT) (envelope-from billf@chc-chimes.com) Received: from localhost by hp9000.chc-chimes.com with SMTP (1.39.111.2/16.2) id AA246791885; Tue, 29 Sep 1998 11:11:25 -0400 Date: Tue, 29 Sep 1998 11:11:25 -0400 (EDT) From: Bill Fumerola 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 On Tue, 29 Sep 1998, Dean Hollister wrote: > > 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? > > Yes, adduser can be sent a one-line command string. pw(1) can also be your scripting friend. - bill fumerola [root/billf]@chc-chimes.com - computer horizons corp - - ph:(800)252.2421 x128 / bfumerol@computerhorizons.com - BF1560 - "Logic, like whiskey, loses its beneficial effect when taken in too large quantities" -Lord Dunsany To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message