Hi,

At Thu, 10 Aug 2006 18:35:05 +0900,
pedro.baldanta / gmail.com wrote in [ruby-talk:207510]:
> I was unable to start "su -" after open telnet conexion. I got:
> 
> :-================ Timeout::Error =====================
> C:\ruby\lib\ruby\1.8/net/telnet.rb:551:in `waitfor'
>               raise TimeoutError, "timed out while waiting for more
> data"
> C:\ruby\lib\ruby\1.8/net/telnet.rb:680:in `cmd'
>             waitfor({"Prompt" => match, "Timeout" => time_out})
> C:\Documents and Settings\admin\Escritorio\telne_test.rb:12
>       localhost.cmd("su -")

In common, the prompt of superuser differs from ordinary users.

-- 
Nobu Nakada