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@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@centos.org
http://lists.centos.org/mailman/listinfo/centos

    
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos