Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 1999 11:17:41 +1200 (NZST)
From:      Jonathan Chen <jonc@pinnacle.co.nz>
To:        notme <notme@lvdi.net>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: adduser from shell script or C/Perl progarm.
Message-ID:  <Pine.SC5.4.10.9904161116130.14535-100000@kiwi.pinnacle.co.nz>
In-Reply-To: <37166A3B.B8DC899E@lvdi.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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