>On Tuesday 04 March 2003 08:29 am, Siems, Gregory wrote:
>> How about:
>>
>> useradd ... username
>> echo my_spiffy_password | passwd --stdin username

When last seen, Bob Tanner was alleged to have written:
>look at autopasswd part of the expect package. Look at expect in general, 
>great tool.

Not aware of autopasswd (something to look at...), 
and yes, expect is a great tool.

One of the fun things about Linux-- TMTOWTDI (kinda like perl)

--Greg


_______________________________________________
Twin Cities Linux Users Group Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list