On 5/9/05, STEPHANE DURIEUX <[EMAIL PROTECTED]> 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 via email to