Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2002 00:28:20 -0600 (MDT)
From:      Nick Rogness <nick@rogness.net>
To:        Masood Ahmad Shah <jahil@mail.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: user creation in FreeBSD
Message-ID:  <20020914002641.Q30156-100000@skywalker.rogness.net>
In-Reply-To: <20020914055508.35111.qmail@mail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <nick@rogness.net>
- 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020914002641.Q30156-100000>