<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Use expect/autoexpect + apg tool.<br>
Thank you.<br>
On 03/08/09 21:49, David Leon wrote:
<blockquote
cite="mid:51894d8a0908031149u7f1fc3dcme15df6b963139afe@mail.gmail.com"
type="cite">
<pre wrap="">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 <a class="moz-txt-link-rfc2396E" href="mailto:centos@linuxpowered.net"><centos@linuxpowered.net></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">David Leon wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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
</pre>
</blockquote>
<pre wrap="">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
<a class="moz-txt-link-abbreviated" href="mailto:CentOS@centos.org">CentOS@centos.org</a>
<a class="moz-txt-link-freetext" href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos</a>
</pre>
</blockquote>
<pre wrap=""><!---->_______________________________________________
CentOS mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CentOS@centos.org">CentOS@centos.org</a>
<a class="moz-txt-link-freetext" href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos</a>
</pre>
</blockquote>
<br>
</body>
</html>