Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
need to user rdist, but rsh "permission denied "

need to user rdist, but rsh "permission denied "

2004-02-20       - By Blaise Canzian

 Back
Reply:     1     2     3     4     5     6  

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@(protected)
https://www.redhat.com/mailman/listinfo/shrike-list



Earn $52 per hosting referral at Lunarpages.