Re: help - batch account creation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

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

  

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

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux