Date: Sun, 03 Nov 2002 18:08:49 +1100 From: Kal Torak <kaltorak@quake.com.au> To: jeremy@cableaz.com Cc: freebsd-isp@freeBSD.ORG Subject: Re: Scripting "adduser" Message-ID: <3DC4CB81.8040202@quake.com.au> References: <98940-22002110311233288@M2W081.mail2web.com>
next in thread | previous in thread | raw e-mail | index | archive | help
jeremy@cableaz.com wrote: > Is there any way to script the "adduser" function of FreeBSD to parse a > file or something? I have a list of about 450 user accounts I need to > build. Every time I type "adduser" with the ? (all my options) the script > starts up anyway. Any Suggestions? The pw program can be used to do this.. But you will need to write some scripts your self to use it... I wrote a program in perl for a college to add accounts for students to the system from a flat text file with comma seperated fields... If you interested I can give you that, it should be easy to change it for your needs or maybe I can even do customize it for you.. Anyway let me know if your interested... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DC4CB81.8040202>