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-23       - By Rick von Richter

 Back
Reply:     1     2     3     4     5     6  

Try running tcpdump when the machines are trying to connect and see how
argus is presenting itself to salsa. I.e. when you run "...the command
from argus of "rsh salsa ls" returns "Permission denied."" see how salsa
sees the incoming packets.  They may not be from argus from salsa's
viewpoint.
HTH, HAND

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
>
>

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rick von Richter  IS Production Support Manager    Voice: 858-831-2222
rickv@(protected)     Maintenance Warehouse/Home Depot   Fax: 858-831-2221
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  The box says: Win98, WinNT or BETTER. That's why I installed Linux.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
 <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
 <title></title>
</head>
<body bgcolor="#cccccc" text="#000000">
<tt>Try running tcpdump when the machines are trying to connect and see
how argus is presenting itself to salsa. I.e. when you run "...</tt>the
command from argus of "rsh salsa ls" returns "Permission denied."" see
how salsa sees the incoming packets.&nbsp; They may not be from argus from
salsa's viewpoint.<br>
HTH, HAND<br>
<br>
Blaise Canzian wrote:<br>
<blockquote cite="mid40364BC9.5080304@(protected)" type="cite">I need
to use "rdist" to disseminate common files among many RH9
workstations.&nbsp; (BTW, any other way to do this not using rdist?)
 <br>
 <br>
But rdist relies on rsh, and rsh is giving "permission denied", and I
cannot figure out why.&nbsp; Perhaps someone on the list can help.
 <br>
 <br>
Here is an example of machine "argus" trying to rsh to machine "salsa".
 <br>
 <br>
1) ipchains firewalling turned off on both machines.
 <br>
 <br>
2) chkconfig --list | grep rsh (or rexec or rlogin) on argus and on
salsa both show the following:
 <br>
 <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rsh:&nbsp;&nbsp;&nbsp; on
 <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rexec:&nbsp; on
 <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rlogin: on
 <br>
 <br>
3) On salsa, here is /root/.rhosts:
 <br>
 <br>
&nbsp;&nbsp;&nbsp;&nbsp;argus&nbsp;&nbsp;&nbsp; root
 <br>
 <br>
4) Permissions on salsa:/root/.rhosts:
 <br>
 <br>
-r-- -----&nbsp;&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 25 Feb 20 10:57 .rhosts
 <br>
 <br>
5) salsa also has an /etc/hosts.equiv:
 <br>
 <br>
&nbsp;&nbsp;&nbsp;&nbsp;+argus&nbsp;&nbsp;&nbsp; root
 <br>
 <br>
6) Permissions on salsa:/etc/hosts.equiv:
 <br>
 <br>
-r-- -----&nbsp;&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 26 Feb 20 10:17
/etc/hosts.equiv
 <br>
 <br>
7) Here is salsa:/etc/xinetd.d/rsh:
 <br>
 <br>
service shell
 <br>
{
 <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; disable = no
 <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; socket_type&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = stream
 <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; wait&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp; = no
 <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; user&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp; = root
 <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log_on_success&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; += USERID
 <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log_on_failure&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; += USERID
 <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = /usr
/sbin/in.rshd
 <br>
}
 <br>
 <br>
8)&nbsp; Here is salsa:/etc/xinetd.d/rexec:
 <br>
 <br>
service exec
 <br>
{
 <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; disable = no
 <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; socket_type&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = stream
 <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; wait&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp; = no
 <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; user&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp; = root
 <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log_on_success&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; += USERID
 <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log_on_failure&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; += USERID
 <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = /usr
/sbin/in.rexecd
 <br>
}
 <br>
 <br>
9)&nbsp; I have done "service xinetd restart" to make sure the above #7-8
are active.
 <br>
 <br>
10)&nbsp; /etc/hosts on salsa has an entry for argus and /etc/hosts on argus
has an entry for salsa.
 <br>
 <br>
11)&nbsp; And yet the command from argus of "rsh salsa ls" returns
"Permission denied."
 <br>
 <br>
Any suggestions?&nbsp; Thanks.
 <br>
 <br>
-- Blaise Canzian
 <br>
 <br>
 <br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rick von Richter  IS Production Support Manager    Voice: 858-831-2222
<a class="moz-txt-link-abbreviated" href="mailto:rickv@(protected)">rickv@(protected)<
/a>     Maintenance Warehouse/Home Depot   Fax: 858-831-2221
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  The box says: Win98, WinNT or BETTER. That's why I installed Linux.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</pre>
</body>
</html>

Earn $52 per hosting referral at Lunarpages.