net::telnet

2001-04-11 Thread John Williams
My mistake...     the line $telnet->cmd("su");should have been$telnet->print("su");   when I changed it, the waitfor command waited for the "Password:" prompt.   works fine now...  I'm just kinda new to this and was following an example..   Thanks!   John

net::telnet

2001-04-11 Thread John Williams
I've had success with the Net::Telnet module.  But I can't get the SUcommand to work.  It times out waiting for a password.Any ideas?Thanks!John---CODE#! perl remote loginuse Net::Telnet ();$telnet = new Net::Telnet (Timeout => 5);$telnet->open("192.134.1.23");$telnet->login($user