|
Posted by J. Gleixner on May 29, 2008, 12:12 pm
Please log in for more thread options lovecreatesbea...@gmail.com wrote:
>>
>>> The telnet login fails if the user has no password.
>> I sincerely hope you have good firewalls, if you are allowing telnet
>> logins without a password.
>>
>>> I mean the user is not prompted with the ``Password:'' string and log
>>> in, as shown in below case 2.
>>> $cnn->login($user, $pass);
>>> It works in case 1. How can I make a script work with both cases?
>> As it says in the docs, if ->login doesn't do what you want, use ->print
>> and ->waitfor instead.
>>
>
> Thanks, I just read it. Does ->print display password on terminal and
> anybody sees it? Does the ->login work this way also?
Why ask? Both of those are questions you can answer yourself by
trying the methods.
|