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 createWhat'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