1830154 Members
4930 Online
109999 Solutions
New Discussion

connectivity issue

 
SOLVED
Go to solution
Kerilyn O'Donnell
Contributor

connectivity issue

I'm working on a solaris2.6 Enterprise3500.
I've networked two machines together and it's wierd because I have both of their names in each others /.rhosts file and /etc/hosts.equiv and /etc/hosts file but when I rsh between them I still need to enter a passwd. I've been looking at these two all day and I think I may be missing something minor but I can't seem to find it. Any ideas? ( I have the same passwd for both machines)
4 REPLIES 4
Michael Tully
Honored Contributor

Re: connectivity issue

Hi,

If your running a remote shell from the HP server you need to start the session as 'remsh' not 'rsh'

Check that the entry on the HP box in
/etc/inetd is enabled by not being commented out. If there is a /etc/securetty file you may not be able to run remote commands from you sun box.

shell stream tcp nowait root /usr/lbin/remshd remshd

-Michael
Anyone for a Mutiny ?
Steven Sim Kok Leong
Honored Contributor
Solution

Re: connectivity issue

Hi,

Check your /etc/nsswitch.conf. Make sure that /etc/hosts is taking precedence in name resolution.

Perform an nslookup on the hostname you have used in the server's .rhosts or hosts.equiv file. Check that it resolves correctly.

Hope this helps. Regards.

Steven Sim Kok Leong
Wodisch
Honored Contributor

Re: connectivity issue

Hello,

do an "rlogin" from one machine to the other and check the ouput of "who -u" - the stationname is shown in the rightmost column.
Then do it vice versa, i.e. in the other direction.
Now you know which names yoiu have to put into the ".rhosts" files...

HTH,
Wodisch
gimini
Advisor

Re: connectivity issue

Hi Kerilyn
Try to edit each system's /etc/passwd files and insert a line for the remote user
e.g userA::......:....etc
Note the password field of the line.I hope this might work.
Regards.
Never take simple matters for granted