  | |  | need to user rdist, but rsh "permission denied " | need to user rdist, but rsh "permission denied " 2004-02-23 - By Rick von Richter
Back 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. 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. (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. 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> rsh: on <br> rexec: on <br> rlogin: on <br> <br> 3) On salsa, here is /root/.rhosts: <br> <br> argus root <br> <br> 4) Permissions on salsa:/root/.rhosts: <br> <br> -r-- ----- 1 root root 25 Feb 20 10:57 .rhosts <br> <br> 5) salsa also has an /etc/hosts.equiv: <br> <br> +argus root <br> <br> 6) Permissions on salsa:/etc/hosts.equiv: <br> <br> -r-- ----- 1 root root 26 Feb 20 10:17 /etc/hosts.equiv <br> <br> 7) Here is salsa:/etc/xinetd.d/rsh: <br> <br> service shell <br> { <br> disable = no <br> socket_type = stream <br> wait = no <br> user = root <br> log_on_success += USERID <br> log_on_failure += USERID <br> server = /usr /sbin/in.rshd <br> } <br> <br> 8) Here is salsa:/etc/xinetd.d/rexec: <br> <br> service exec <br> { <br> disable = no <br> socket_type = stream <br> wait = no <br> user = root <br> log_on_success += USERID <br> log_on_failure += USERID <br> server = /usr /sbin/in.rexecd <br> } <br> <br> 9) I have done "service xinetd restart" to make sure the above #7-8 are active. <br> <br> 10) /etc/hosts on salsa has an entry for argus and /etc/hosts on argus has an entry for salsa. <br> <br> 11) And yet the command from argus of "rsh salsa ls" returns "Permission denied." <br> <br> Any suggestions? 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.
|
|
 |