Bug 98100
Summary: | rsh, rlogin and rcp is not working | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <mtozser> |
Component: | rsh | Assignee: | Phil Knirsch <pknirsch> |
Status: | CLOSED NOTABUG | QA Contact: | Ben Levenson <benl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | CC: | rvokal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-06-27 10:13:45 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Comment 1
Need Real Name
2003-06-26 15:52:34 UTC
Description of problem: We're running 7.1(that's the highest version the box can take) on a compaq dual CPU proliant 1600 box. We'd installed the rsh-server package and were tryingt to run rsh rlogin and rcp commands as root and as other users. We have the /etc/hosts file and the /.rhosts file entries set. Rsh and rlogin is working on the system itself after updating the /etc/securetty file with rsh and rlogin entries. It still does work though if we try to run the rsh/rlogin/rcp commands from other systems. We've updated the /etc/pam.d/rsh file with this entry: auth required /lib/security/pam_rhosts_auth.so The /var/log/messages file shows: Jun 26 11:07:51 dhcp-241-7 pam_rhosts_auth[4695]: allowed to root@localhost as root Jun 26 11:07:51 dhcp-241-7 in.rshd[4695]: rsh denied to root@localhost as root: Permission denied. Jun 26 11:07:51 dhcp-241-7 in.rshd[4695]: rsh command was 'date' How can we make it work for root and for other users? Even though it's suggested not to, we'd need a work around solution. Version-Release number of selected component (if applicable): rsh-0.17-2.5 as client and rsh-server-0.17-5 How reproducible: Always Steps to Reproduce: 1.Log onto a system that is listed in the .rhosts file 2.rsh [system] date 3.get connection failure error message after a while This is mainly a setup and therefore support question (for which you should contact support and not write any bugzilla entries). After your description i'd check your DNS setup and .rhosts resp. hosts.equiv entries to contain the users and the FQDN (full qualified domain names) for the hosts. Otherwise rsh/rlogin are likely to fail during authentification. Hope this helps, Read ya, Phil |