From owner-freebsd-questions Mon Aug 25 11:44:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA00572 for questions-outgoing; Mon, 25 Aug 1997 11:44:58 -0700 (PDT) Received: from milehigh.denver.net (milehigh.denver.net [204.144.180.2]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA00557 for ; Mon, 25 Aug 1997 11:44:51 -0700 (PDT) Received: (from jdc@localhost) by milehigh.denver.net (8.8.5/8.8.5) id MAA28878; Mon, 25 Aug 1997 12:45:49 -0600 (MDT) Message-ID: <19970825124549.33625@denver.net> Date: Mon, 25 Aug 1997 12:45:49 -0600 From: John-David Childs To: Paul.Dekkers@cgu.edusurf.nl Cc: freebsd-questions@freebsd.org Subject: Re: how do I add many users simple, and how many users on 1 sys? References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.79 In-Reply-To: ; from Paul Dekkers on Mon, Aug 25, 1997 at 03:36:23PM +0200 Organization: Enterprise Internet Solutions Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Monday August 1997, Paul Dekkers had this to say about "how do I add many users simple, and how many users on 1 sys?": > Hi > > How many accounts am I able to put on one system, In theory I think you can put 65534 accounts on FreeBSD 2.2X (including the "default" accounts like root, toor, man, news, etc.)...I believe 3.0 changed the size of UID's. > and what's the best method of making 700 accounts, with numbers from > 1 to 700? (and e.g. the passwords for users 1-100 disabled, 101-200 > something like "safe", and so on?) The gecos field can be the user > number (, but is there also a simple method to take the names from a > database? (e.g. file with number:name)) The 'pw' command should do everything you want. You can write a *sh script (sh, csh, etc.) or you could use Perl to do most everything you want. See also the 'adduser' program (a perl script). -- John-David Childs (JC612) Enterprise Internet Solutions System Administrator @denver.net/Internet-Coach/@ronan.net & Network Engineer 901 E 17th Ave, Denver 80218 As of this^H^H^H^H next week, passwords will be entered in Morse code.