Non Interactive passwd change via script....

Kevin Kinsey kdk at
Tue Apr 3 23:49:33 UTC 2007

Agus wrote:
> Hi everybody....
> its been a few days now, since im trying to do a tcsh script to automatize
> the process of creating users in my system....
> Users register via web, and info is saved in a MySQL DB and in a file. the
> script reads from the file and begins adding users with pw.
> but im stuck on how to create the password for the users. the only solution
> that worked was the use of expect, but it consumes a lot of resources
> (7.8%System). Now that isnt a problem cause the users are few. but if
> it has to
> add a lot of users?? it will kill my server....
> any hints will be apreciated.....
pw(8)  ??

> thanks a lot...

You're welcome ;-)

Kevin Kinsey
Good news from afar can bring you a welcome visitor.

More information about the freebsd-questions mailing list