Shell script

Garrett Goebel garrett at scriptpro.com
Wed Nov 12 18:06:29 CST 2003


brad wrote:
>
[...]
> I will keep digging.

perl -lnae '`useradd $F[0]`' filename

Works for me...

Where filename's contents look like:

username1	password1
username2	password2
usernamen	passwordn

P.S. These are the kind problems for which Larry Wall created Perl...

--
Garrett Goebel
IS Development Specialist

ScriptPro                   Direct: 913.403.5261
5828 Reeds Road               Main: 913.384.1008
Mission, KS 66202              Fax: 913.384.2180
www.scriptpro.com          garrett at scriptpro dot com





More information about the Kclug mailing list