Red Hat Bugzilla – Bug 58309
rcp and rlogin ~/.rhost behaviors differ
Last modified: 2005-10-31 17:00:50 EST
Description of Problem:
rhs-server requires fully qualified host name in the ~/.rhosts file for rcp
connections but not for rsh/rlogin.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. On the server side, put a client host name that is resolvable by nslookup
in the ~/.rhost file. Exclude the domain name. You'll need a "search"
entry for the domain in /etc/resolv.conf in order to make it resolvable.
2. From the client, try to do a password-free rlogin to the server. (It should
3. Now from that same client try to do an rcp. You'll get a permission
4. Now go back to the server side and put the fully qualified host name
5. Verify rlogin from the client still works. (It should.)
6. Try rcp again. It will work this time.
rcp authentication behavior differs from that of rlogin with respect to
host names in ~/.rhosts.
rcp and rlogin authentication behavior with respect to host names in
~/.rhosts should be identical.