Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jul 1998 10:47:53 -0700 (PDT)
From:      Dan Busarow <dan@dpcsys.com>
To:        PuFFDaDDz@aol.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: please help--need automatic adduser
Message-ID:  <Pine.BSF.3.96.980723104442.4537E-100000@java.dpcsys.com>
In-Reply-To: <eeea9e71.35b6b6db@aol.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 23 Jul 1998 PuFFDaDDz@aol.com wrote:
> i want to make it so it adds user 
> i have a sign up and everything
> what should i add to my perl script to add user under my sys?

adduser has a batch mode (non interactive)  See the man pages for
arguments and their order.

It needs to be run as root so you will probably want to have your
signup create a file in say /usr/local/newusers and have a cron
job look there periodically for accounts to add.  Make newusers
mode 0700 owned by nobody (your web server user).

Dan
-- 
 Dan Busarow                                                  949 443 4172
 DPC Systems / Beach.Net                                    dan@dpcsys.com
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82


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.BSF.3.96.980723104442.4537E-100000>