From owner-freebsd-questions Thu Apr 15 16:21:13 1999 Delivered-To: freebsd-questions@freebsd.org Received: from kiwi.pinnacle.co.nz (pinnacle.internet.co.nz [210.48.55.133]) by hub.freebsd.org (Postfix) with ESMTP id EB77314FD6 for ; Thu, 15 Apr 1999 16:21:08 -0700 (PDT) (envelope-from jonc@pinnacle.co.nz) Received: from kiwi.pinnacle.co.nz (kiwi.pinnacle.co.nz [202.37.163.2]) by kiwi.pinnacle.co.nz (8.9.3/8.9.3) with ESMTP id LAA16102; Fri, 16 Apr 1999 11:17:41 +1200 (NZST) Date: Fri, 16 Apr 1999 11:17:41 +1200 (NZST) From: Jonathan Chen To: notme Cc: "freebsd-questions@freebsd.org" Subject: Re: adduser from shell script or C/Perl progarm. In-Reply-To: <37166A3B.B8DC899E@lvdi.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 15 Apr 1999, notme wrote: > Hi, > I am wondering if it is possible to add users using a shell script. > I am currently > setting up a FreeBSD file server with SAMBA in a local high school, > which has > around 1000 computer students (in various classes). I figured that it > would be a > pain in the butt to manually add 1000 users and create 1000 dirs. pw(1) is your friend. >In > addition, is > there anyway to increase the 8-lower-case letter username limitation? 3.1 increases this to 16, IIRC. Jonathan Chen ------------------------------------------------------------------------ "If you wish your merit to be known, acknowledge that of other people" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message