[CentOS] help - batch account creation

Filipe Brandenburger filbranden at gmail.com
Mon Aug 3 18:55:57 UTC 2009


Hi,

On Mon, Aug 3, 2009 at 14:49, David Leon<dleon741210 at gmail.com> wrote:
> I'm trying to avoid typing every password manually. I just need an
> script that makes the job.

echo "$password" | passwd --stdin "$username"

Obviously, this must be run as root.

HTH,
Filipe



More information about the CentOS mailing list