From owner-freebsd-questions Fri Sep 13 23:25:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4FA437B400 for ; Fri, 13 Sep 2002 23:25:12 -0700 (PDT) Received: from skywalker.rogness.net (skywalker.rogness.net [64.251.173.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC2C743E72 for ; Fri, 13 Sep 2002 23:25:11 -0700 (PDT) (envelope-from nick@rogness.net) Received: from skywalker.rogness.net (localhost [127.0.0.1]) by skywalker.rogness.net (8.12.5/8.11.3) with ESMTP id g8E6SPaa030821; Sat, 14 Sep 2002 00:28:25 -0600 (MDT) (envelope-from nick@rogness.net) Received: from localhost (nick@localhost) by skywalker.rogness.net (8.12.5/8.12.5/Submit) with ESMTP id g8E6SN8w030818; Sat, 14 Sep 2002 00:28:24 -0600 (MDT) X-Authentication-Warning: skywalker.rogness.net: nick owned process doing -bs Date: Sat, 14 Sep 2002 00:28:20 -0600 (MDT) From: Nick Rogness To: Masood Ahmad Shah Cc: freebsd-questions@FreeBSD.ORG Subject: Re: user creation in FreeBSD In-Reply-To: <20020914055508.35111.qmail@mail.com> Message-ID: <20020914002641.Q30156-100000@skywalker.rogness.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 14 Sep 2002, Masood Ahmad Shah wrote: > sir > I'm running Linux and freebsd both I want to creat user through script like i can create in linux > > /usr/sbin/useradd -g 45 mooshu27 > /usr/sbin/useradd -g 45 new > /usr/sbin/useradd -g 45 zeeshan125 > /usr/sbin/useradd -g 45 drmariam > /usr/sbin/useradd -g 45 nasir79 > /usr/sbin/useradd -g 45 sadaf85 > /usr/sbin/useradd -g 45 fariw > /usr/sbin/useradd -g 45 mywish16 > /usr/sbin/useradd -g 45 abmh > /usr/sbin/useradd -g 45 athersha > > I can save it in file and when I will excute the file it will create the > users and add it too 45 group id. but in freebsd we will have to run a > wizard for adding user is there any way as it's my requirement to add > 20000 users so how can i do that. You are probably looking for something like `pw'. See: man pw Nick Rogness - WARNING TO ALL PERSONNEL: Firings will continue until morale improves. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message