[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: script with passwd



On 5/9/05, STEPHANE DURIEUX <durieux42@yahoo.fr> wrote:
> more generally, how to answer question to a script
> with always the same  response
> I ve tried
> echo passord |passwd user
> but the passwd need to be put  several times (two
> exactly).

Take a look at "expect".

-- 
Michael A. Marsh
http://www.umiacs.umd.edu/~mmarsh
http://mamarsh.blogspot.com



Reply to: