rsh : Permission denied
Alexander Apprich
a.apprich at science-computing.de
Fri Apr 22 15:18:08 UTC 2005
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 at 10.159.227.24 as varnoux: access not allowed
> Apr 20 14:21:26 asma001 in.rshd[8950]: rsh denied to
> vincent at 10.159.227.24 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 at 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 at 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 at asma001 varnoux]# cat /etc/hosts.equiv
> +
> [root at 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
More information about the fedora-list
mailing list