[Sunhelp] Very strange telnet/rlogin/ftp error

Chanaka Mendis chanakam at millenniumit.com
Fri Oct 27 00:12:35 CDT 2000


John Lee wrote:

> Hi all,
>
> I encounted a very strange telnet/rlogin/ftp error today. Here is the
> details:
>
> (HostA is Solaris2.7, hostB is Solaris2.6)
>
> hostA$ rlogin hostB
> Protocol error, hostB closed connection.
>
> hostA$ telnet hostB
> Trying 1.2.3.4....
> Connection to hostB
> Escape character is '^]'.
> connection closed by foreign host.
>
> hostA$ftp hostB
> connected to hostB
> 421 Service not available, remote server has closed connection.
>
> hostA$telnet hostB 25
> "This is ok."
>
> From above, we can see user can't rlogin/telnet/ftp to hostB from hostA.
>
> But user can rlogin/telnet/ftp hostA from hostB. Also user can first
> rlogin/telnet other hosts(not hostB) from hostA, then rlogin/telnet/ftp
> hostB.
>
> In fact, Yesterday I could rlogin/telnet/ftp hostB from hostA. I don't know
> why I can't today. I want to use snoop to track the problem but failed.
>
> By the way, My netscape4.51 on hostA always hang up when I click the "New
> Msg" button in the Netscape Mail window.
>
> Is there anyone can give me some ideas/hints on this ?
>
> Thanks in advance.
>
> Regards.
> John Lee
>
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp

Hi,
Try these cases.

 /usr/sbin/in.rlogind should have permissions 555 and own bye root :staff.

-r-xr-xr-x  1 root     staff       16384 Jan 20  1994 /usr/sbin/in.rlogind

following entry should be in /etc/inetd.conf

login        stream  tcp     nowait  root    /usr/sbin/in.rlogind
in.rlogind

/Gayantha








More information about the SunHELP mailing list