1832274 Members
2241 Online
110041 Solutions
New Discussion

rlgin problem

 
SOLVED
Go to solution
steven chang_1
Regular Advisor

rlgin problem

hello :

when I rlogin remote host, and the remote host return "connection closed", check rpcbind through "rpcinfo -p" , it's ok.I don't know what's happening.If you meet the same situation, please tell me. Thank you very much!!

steven chang
steven
9 REPLIES 9
G. Vrijhoeven
Honored Contributor
Solution

Re: rlgin problem

Hi Steven,

rlogin uses /etc/inetd.conf ( inetd ).
Check for .rhosts files/ rights on home dirs.

HTH,

Gideon

Steven E. Protter
Exalted Contributor

Re: rlgin problem

Also, check for the presence of an /etc/hosts.equiv file. This can block those tranfers.

As can a /var/adm/inetd.sec file.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Karthik S S
Honored Contributor

Re: rlgin problem

Are you able to do a normal telnet to that remote machine? Once I experienced similar problem. Even though the .rhosts and inetd were proper, I was not able to login to the remote host. And a simple "insf -e" resolved the problem. ( May be because the ptys were corrupted)

-Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
steven chang_1
Regular Advisor

Re: rlgin problem

hello Karthik S S :

Sorry I didn't say the symptom clearly.
Telnet and ftp is ok, but rlogin behave very
strange.


steven chang
steven
steven chang_1
Regular Advisor

Re: rlgin problem

hello
Karthik S S :

my system is solaris 8 , I don't know if insf command exist in solaris. If you know , please tell me what "insf -e" has done.Thank you very much!!


steven chang
steven
Karthik S S
Honored Contributor

Re: rlgin problem

insf equivalent for solaris is devfsadm (in solaris 8) .. but you need not run this command now as you are able to telnet to your system.

Edit /etc/init.d/inetsvc to enable inetd logging by adding a "-t" switch to the last line of that file.

Try doing a rlogin again and check /var/adm/messages for a verbose log which can help us in resolving this problem.

-Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Robert-Jan Goossens
Honored Contributor

Re: rlgin problem

Ahh Steven, well you are on a HPUX forum, so it is not strange to receive HPUX commands :-)

Did you check your /etc/initd.conf for this line

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

Robert-Jan
Sundar_7
Honored Contributor

Re: rlgin problem

Hi Steven,

I bet the problem is with /var/adm/inetd.sec :-) . Make sure there are no deny entries for ur host in that file.

-- Sundar
Learn What to do ,How to do and more importantly When to do ?
steven chang_1
Regular Advisor

Re: rlgin problem

inetd.sec is for hpux ,but my system is solaris.Is anybody knwo solaris get this feature.But it is true, it should not be
connection closed, I think it should be "Connection refused".

Thank you all!!


steven
steven