Re: rsh : Permission denied

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2005-04-22 at 17:02 +0200, 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 ?
> 
> Vincent
> 

Per the format info in man 5 hosts_access, there should be spaces around
the : in the hosts.allow and hosts.deny files.  I can't tell if that was
for readability of is an actual requirement.

Excerpt:

All other lines should satisfy the following format, things between []
being optional:

                 daemon_list : client_list [ : shell_command ]

The examples in the same man page only show a space after the colon,
however.

Bob...





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux