You have to check the hosts file on the rsh server side, not only on the client one.
More generally, the hosts must be correctly set in a configured backend database, that might be files, DNS, NIS, ldap depending on the configuration. Nothing ugly there.
Weak permissions on hosts.equiv (not sure about .rhosts) might also cause the issue.
In any case, rlogin is doomed and ssh should be installed and used instead.
Well, these two are test systems. I installed the OS myself on them. They have only ldap. The DNS and NIS are not set-up or configured! Could that be a reason?
Alright. Thanks jlliagre. I've got to check thoroughly then, after I get back to work.
---------- Post updated 10-30-09 at 10:33 AM ---------- Previous update was 10-29-09 at 08:54 PM ----------
/etc/hosts.equiv, .rhosts all have the network info, they look fine but system1 is still asking for a passwd from system2 if I do rlogin. I'm stuck and don't know how to proceed from here!