Got it done with the following script:

#!/bin/bash
for i in `cat unpw.csv`; do
   UN=`echo $i | cut -f1 -d','`
   PW=`echo $i | cut -f2 -d','`
   ENCPW=`echo $PW | mkpasswd -s`
   echo useradd -p $ENCPW -m $UN
done

On 02/25/2011 10:05 AM, Nathan Caza wrote:
> give an example; fake names/usrnames/passwords for a few entries in the file
>
> On Fri, Feb 25, 2011 at 10:01 AM, Raymond Norton<admin at lctn.org>  wrote:
>> Forgot to mention, this is on an Ubuntu 10.x server with postfix.
>>
>>
>>
>> ----- "Nathan Caza" wrote:
>> should be possible; give us a markup of the format the email addresses
>> are in (e.g.<first>.<last>@something.org) also what type of system,
>> and what the usernames should be formatted as
>>
>> On Fri, Feb 25, 2011 at 9:25 AM,<admin at lctn.org>  wrote:
>>> I'm helping a school set up a new email server after the old one crashed.
>>> Is there a script I can run against a text file of email addresses to create
>>> users on the new  server ?
>>>
>>> Raymond
>>> _______________________________________________
>>> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
>>> tclug-list at mn-linux.org
>>> http://mailman.mn-linux.org/mailman/listinfo/tclug-list
>>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>>
>>
>>
>> --
>> Raymond Norton
>> LCTN
>> Ecclesiastes 7:21-22
>>
>>
>> _______________________________________________
>> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
>> tclug-list at mn-linux.org
>> http://mailman.mn-linux.org/mailman/listinfo/tclug-list
>>
>>
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> tclug-list at mn-linux.org
> http://mailman.mn-linux.org/mailman/listinfo/tclug-list
>