See original message below:
It appears from the flood of answers that the program expect from
expect.nist.gov will do the trick as well as help with many other automated
routines.
Thanks all.
On Mon, 18 Jan 1999, John Malick wrote:
> I would like to create a script which basically run useradd or manually edits
> the passwd file. The only problem seems to be is in creating the initial users
> password. I would like to enter the users password as part of an argument to
the
> script and have it generate the encrypted password for the shadow file.
>
> Does anyone have something that will allow me to do this?
>
> Thanks and a summary will follow.
>
>
>
> ************************************
> *
> John Malick - Systems Engineering *
> Star Systems Engineering *
> 140 Roosevelt Ave. *
> York, PA. 17404 *
> *
> (717) 854-5911 Phone *
> (717) 852-9421 Fax *
> john@starinc.com Email *
> www.starinc.com Web Site *
> *
> ************************************
>
------------- End Forwarded Message -------------
************************************
*
John Malick - Systems Engineering *
Star Systems Engineering *
140 Roosevelt Ave. *
York, PA. 17404 *
*
(717) 854-5911 Phone *
(717) 852-9421 Fax *
john@starinc.com Email *
www.starinc.com Web Site *
*
************************************
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:14 CDT