Vincent Arnoux wrote:
Hi all,
I am trying to set up on a Fedora Core 3 pc the rsh server... and
failing for the moment.
I have the following message in /var/messages :
Apr 20 14:21:26 asma001 pam_rhosts_auth[8950]: denied to
vincent@xxxxxxxxxxxxx as varnoux: access not allowed
Apr 20 14:21:26 asma001 in.rshd[8950]: rsh denied to
vincent@xxxxxxxxxxxxx as varnoux: Permission denied.
What I don't understand is that I changed all authorization files I
found involved in rsh permissions. This system is on an intranet, so I
can desactivate any security I want, but rsh server MUST work.
I changed:
[root@asma001 varnoux]# cat /etc/hosts.allow
#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
in.rshd:ALL
[root@asma001 varnoux]# cat /etc/hosts.deny
#
# hosts.deny This file describes the names of the hosts which are
# *not* allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
# The portmap line is redundant, but it is left to remind you that
# the new secure portmap uses hosts.deny and hosts.allow. In particular
# you should know that NFS uses portmap!
[root@asma001 varnoux]# cat /etc/hosts.equiv
+
[root@asma001 varnoux]# cat .rhosts
+ +
And it is still not working. Anyone has another idea ?
Check /etc/xinetd.d/rsh if it says disable = no and
put rsh in /etc/securetty that should fix it.
(Don't forget to restart xinetd...)
Vincent
Alex