Bug 58309 - rcp and rlogin ~/.rhost behaviors differ
rcp and rlogin ~/.rhost behaviors differ
Product: Red Hat Linux
Classification: Retired
Component: rsh (Show other bugs)
i386 Linux
low Severity low
: ---
: ---
Assigned To: Radek Vokal
Depends On:
  Show dependency treegraph
Reported: 2002-01-13 22:11 EST by Terry Griffin
Modified: 2005-10-31 17:00 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-10-06 06:53:26 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Terry Griffin 2002-01-13 22:11:05 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):


How Reproducible:

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
denied error.
4. Now go back to the server side and put the fully qualified host name
in ~/.rhosts.
5. Verify rlogin from the client still works. (It should.)
6. Try rcp again. It will work this time.

Actual Results:

rcp authentication behavior differs from that of rlogin with respect to
host names in ~/.rhosts.

Expected Results:

rcp and rlogin authentication behavior with respect to host names in
~/.rhosts should be identical.

Additional Information:

Note You need to log in before you can comment on or make changes to this bug.