[CentOS] help - batch account creation

Mon Aug 3 18:55:33 UTC 2009
Dmitry <tigra at supportex.net>

Use expect/autoexpect + apg tool.
Thank you.
On 03/08/09 21:49, David Leon wrote:
> I'm trying to avoid typing every password manually. I just need an
> script that makes the job.
>
> useradd creates the account but still need to setup accpunt's password.
>
>
>
> On 8/3/09, nate<centos at linuxpowered.net>  wrote:
>    
>> David Leon wrote:
>>      
>>> Hello guys
>>>
>>> I have a new Centos 5.3 running, and I have a text file with a bunch
>>> of accounts (more than 100) that I should create
>>>        
>> What's the question? How to do it? Parse the text file and use
>> something like useradd to add the accounts, is probably the quickest
>> way.
>>
>> nate
>>
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>>      
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20090803/ff3bff10/attachment-0005.html>