in reply to Re: Re: Net::Telnet and changing passwords
in thread Net::Telnet and changing passwords

I may be missing something here but aren't you waiting for
/new password:
and from what I can see from debug() you are getting
Enter l+ogin(NIS+ ) password
I don't think the condition
$telnet->waitfor('/new password: ?$/i') or report_error("ERROR", "No p +assword prompt found, contact Information Technologies: ");
Is being met...waitfor() is just sitting there waiting for that prompt to match and it isn't so you never get to
$telnet->print($new_password);

Of course, I haven't tried it on a real machine but this looks to me to be the possible cause of your quandry.

Replies are listed 'Best First'.
Re: Re: Re: Re: Net::Telnet and changing passwords
by jcpunk (Friar) on Jun 30, 2003 at 14:05 UTC
    Thank you very much for that observation, I dont think I would have found that.
    jcpunk

    by the way thanks for all the help that was, is, and will be