Re: need to user rdist, but rsh "permission denied"

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

 



Blaise,

Have you checked that the permissions on the '.rhosts' files
are correct?  Look at the man page on 'rsh' to see what
they should be.

Kathy Bieltz

Blaise Canzian wrote:

I need to use "rdist" to disseminate common files among many RH9 workstations. (BTW, any other way to do this not using rdist?)

But rdist relies on rsh, and rsh is giving "permission denied", and I cannot figure out why. Perhaps someone on the list can help.

Here is an example of machine "argus" trying to rsh to machine "salsa".

1) ipchains firewalling turned off on both machines.

2) chkconfig --list | grep rsh (or rexec or rlogin) on argus and on salsa both show the following:

        rsh:    on
        rexec:  on
        rlogin: on

3) On salsa, here is /root/.rhosts:

argus root

4) Permissions on salsa:/root/.rhosts:

-r-------- 1 root root 25 Feb 20 10:57 .rhosts

5) salsa also has an /etc/hosts.equiv:

+argus root

6) Permissions on salsa:/etc/hosts.equiv:

-r-------- 1 root root 26 Feb 20 10:17 /etc/hosts.equiv

7) Here is salsa:/etc/xinetd.d/rsh:

service shell
{
        disable = no
        socket_type             = stream
        wait                    = no
        user                    = root
        log_on_success          += USERID
        log_on_failure          += USERID
        server                  = /usr/sbin/in.rshd
}

8) Here is salsa:/etc/xinetd.d/rexec:

service exec
{
        disable = no
        socket_type             = stream
        wait                    = no
        user                    = root
        log_on_success          += USERID
        log_on_failure          += USERID
        server                  = /usr/sbin/in.rexecd
}

9) I have done "service xinetd restart" to make sure the above #7-8 are active.

10) /etc/hosts on salsa has an entry for argus and /etc/hosts on argus has an entry for salsa.

11) And yet the command from argus of "rsh salsa ls" returns "Permission denied."

Any suggestions? Thanks.

-- Blaise Canzian





-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux