Bug 51719 - Rsh wont let root login even after serious altering of .rhosts , /etc/hosts.equiv, /etc/xinetd.d/rsh
Summary: Rsh wont let root login even after serious altering of .rhosts , /etc/hosts.e...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rsh
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-08-14 11:48 UTC by ronny.lampert
Modified: 2015-03-05 01:09 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-08-14 11:48:58 UTC
Embargoed:


Attachments (Terms of Use)

Description ronny.lampert 2001-08-14 11:48:54 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.72 [en] (X11; U; Linux 2.2.19 i586)

Description of problem:
I have 2 hosts in .rhost, which should be allowed rsh.
In /etc/xinetd.d/rsh I altered:
server	= /usr/sbin/in.rshd -h # as the manpage says
and disabled	=no
and still it wont let root do rcp'ing.

How reproducible:
Always

Steps to Reproduce:
1. do an rcp to that maschine


Actual Results:  pam_rhosts_auth will grant, but rshd will refuse!

Expected Results:  normal rcp'ing as under RH 6.2

Additional info:

Comment 1 Phil Knirsch 2001-08-16 14:50:00 UTC
You need to

chkconfig rlogin on
service xinetd restart

As rsh uses the rlogin server, not the rshd (which is used for rcmd)
I know, it's really counterintuitive as rsh should have the rshd as counterpart,
but unfortunately it's not the case.

Hope this helps,

Read ya, Phil


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