On Mon, May 09, 2005 at 10:06:51AM -0400, Michael Marsh wrote:
> 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 t
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:
Hello
a newbie question :
even if it is not secure I would like to know how to
write a script with the passwd command without having
to enter the passwd.
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
3 matches
Mail list logo