in reply to Re: 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

Thanks,
$username\n? was a mistake by me

I just wanted to mention that I had to use
$exp->send( "$_send\r" );
for the script to fire properly. I had been reading the perldoc's on the Expect.pm module as well as the 2 pages in the Perl Cookbook. I will add a Net::Ping and Mail::Mailer to the program next (for error checking / availability) as well as reporting. Will post to CUFP when its done. Thanks again sschneid.
  • Comment on Re: Re: Re: Re: Changing passwords using Expect.pm through ssh on a large number (75) of systems
  • Select or Download Code