Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rlogin problem

Status
Not open for further replies.

snapshot

Technical User
Oct 26, 2001
43
GB
Trying to use rlogin between various machine and mostly OK but one of them I can't get to rlogin to remote systems - it always requests password. Others can rlogin to this one and each other but not this one to any others. It's a new system and I have installed Sun recommended patches (Solaris 8 by the way). What have I missed?
 
Hi,

have check .rhosts file and /etc/hosts.equiv? The file should contains hostname that you specify in /etc/hosts file.

Can you paste your hosts file and .rhosts file?

dbase77
 
Checked & double checked these files. I have 4 servers I'll call them S H J & T for short. S H & J can rlogin, rsh etc between each other no problem. I have introduced J and S H & J can all rlogin to it but J can not rlogin to the others. So J is the common point but the settings of .rhosts and hosts.equiv are on the other 3 separate systems. I read somewhere that the hostname in these 2 files can not be a nickname which it isn't. Any other ideas?
 
rlogin to your host, execute the command "who", the name of your host is written in () copy this string to .rhosts

Regards
-- Franz
Sorry I'm not a native spaeker, I'm from Munich, Germany - "Home of the Whopper", oh no, "Home of the Oktoberfest" ;-)
 
Checked that - correct name used. With further testing I have found that I can rlogin with any user id except root. I have tried adding the local machine into /.rhosts on the remote and I have tried adding the local machine and root user id into the /etc/hosts.equiv file on the remote. Other systems can login as root onto the same remote.
 
Problem solved! Thanks for your help. At some point in this process I added the local machine into the remote machines hosts file. The entry was correct but I removed it again on the grounds that it should be picked up from the DNS. This change apparently made the difference and root can now rlogin - if anyone can explain why such an entry would stop root but noth others from using rlogin I'd be interested.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top