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@xxxxxxx Maintenance Warehouse/Home Depot Fax: 858-831-2221
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The box says: Win98, WinNT or BETTER. That's why I installed Linux.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
begin:vcard
fn:Rick von Richter
n:von Richter;Rick
org:IT;IS
adr:;;10641 Scripps Summit Ct.;San Diego;CA;92131;USA
email;internet:rickv@xxxxxxx
title:Sr. UNIX Systems Admin
tel;work:858-831-2222
tel;fax:858-831-2221
tel;home:858-831-2210
tel;cell:619-954-3667
x-mozilla-html:TRUE
url:http://hdsupply.com
version:2.1
end:vcard