> Did anyone else already faced such problems with any OS ? > This is vary anoting. Maybe it is simply a bug in their telnetd but > would changing the /Password[: ]*\z/ to /[Pp]assword[: ]*\z/ > and so for /login/ would be an efficient and relevant patch ? > Is there such a patch that already exist ? or drop the "P" all together, most expect scripts I've seen match on "assword" or even shorter "word". I usually use "expect.rb" for these tasks instead of Net::Telnet. snippet from the ruby expect: r_f.expect(/^Name.*: /) do w_f.print "ftp\n" end if !ENV['USER'].nil? username = ENV['USER'] elsif !ENV['LOGNAME'].nil? username = ENV['LOGNAME'] else username = 'guest' end r_f.expect('word:') do <------------------------------------ w_f.print username+"@\n" end