Shell script
Brian Densmore
DensmoreB at ctbsonline.com
Wed Nov 12 18:36:48 CST 2003
>-----Original Message-----
>From: Garrett Goebel
>Sent: Wednesday, November 12, 2003 11:06 AM
>To: 'brad'; kclug at kclug.org
>Subject: RE: Shell script
>
>
>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...
Works for me too, but it didn't set the shadow password.
More information about the Kclug
mailing list