Re: Telnet question in Perl

2007-03-27 Thread Tom Phoenix
On 3/26/07, Dukelow, Don <[EMAIL PROTECTED]> wrote: I'm using Net::Telnet in my Perl script and I can get through the user login ok. But when I try to "sudo" to root I can't get there. Any ideas? It might be that sudo is (mis-)configured not to allow you root access. But I suspect you've jus

Re: Telnet question in Perl

2007-03-27 Thread jm
no difference! Its only after I sudo to root thaat I have this problem. Don Dukelow -Original Message- From: jm [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 27, 2007 12:01 PM To: Beginners List Subject: Re: Telnet question in Perl i can't find any reference to a "cmw" opt

Re: Telnet question in Perl

2007-03-27 Thread jm
"@VENDER\n"; Don't work where as they did when I was just loged in as myself. The Input_log file says the command was exicuted but the array didn't pick it up. Don Dukelow -Original Message- From: jm [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 5:13 PM To: b

Re: Telnet question in Perl

2007-03-26 Thread jm
e "/"s I'm not sure which one you mean but I was tring all kinds of thinks to get it to work. That is just what I ended up with. Don Dukelow -Original Message----- From: jm [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 4:22 PM To: beginners@perl.org Subject: Re: Teln

Re: Telnet question in Perl

2007-03-26 Thread jm
simplest questions first... is "sudo" a valid command on that particular system? if so, is "sudo su -" a valid syntax in that environment? is "/Password/" a valid prompt being returned by that system? should the "/"s be a part of the prompt text? i've never included "/"s in my expected returns u