1825719 Members
2869 Online
109686 Solutions
New Discussion

.rhosts

 
SOLVED
Go to solution
mohan singh
Frequent Advisor

.rhosts

Hi all,

I am facing a problem here in .rhost configuration.
I have systemA and SystemB
I have updated both .rhost entery with their hosts name.
I can rlogin from systemA to SystemB without login. But can not rloging from SystemB to systemA without passwd. Mean when I say rlogin systemB its asking passwd. what is wrong . Please give some clue.

Thanx
Mohan
4 REPLIES 4
Sunil Sharma_1
Honored Contributor
Solution

Re: .rhosts

Mohan,

check wheather host name is systemb is resolving on systema

login in systema
#nslookup systemb

if this not return system B ip address then add entry for systemb in /etc/hosts or in DNS
or you can use systemB's IP address in .rhosts file

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Henk Geurts
Esteemed Contributor

Re: .rhosts

hi Mohan

check the entries in /etc/inetd.conf on both machines. are they equal?
Should be like :
login stream tcp nowait root /usr/lbin/rlogind rlogind

let me know
regards
Henk
Devender Khatana
Honored Contributor

Re: .rhosts

Hi Mohan,

Another very important point is the file permissions for .rhosts. Ensure that the permissions on .rhosts file are of that user for whcih you have created it.

HTH,
Devender
Impossible itself mentions "I m possible"
mohan singh
Frequent Advisor

Re: .rhosts

Hi every,

Thank you very much , problem has been resoved .

thanks once again.


Mohan