Red Hat Bugzilla – Bug 51719
Rsh wont let root login even after serious altering of .rhosts , /etc/hosts.equiv, /etc/xinetd.d/rsh
Last modified: 2015-03-04 20:09:33 EST
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.
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
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