in reply to Re: Re: Changing passwords using Expect.pm through ssh on a large number (75) of systems
in thread Changing passwords using Expect.pm through ssh on a large number (75) of systems
If it's not sent explicitly, Expect doesn't add a return onto the end of the string you're sending. Also, are you sure you want to be matching $username\n? I'm guessing the \n is a typo, somehow...$exp->send("$_send\n");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Changing passwords using Expect.pm through ssh on a large number (75) of systems
by linebacker (Scribe) on Jul 12, 2002 at 02:36 UTC |