Click to See Complete Forum and Search --> : Unable to rsh
strudl
02-28-2004, 11:26 AM
I have 2 Redhat Linux 7.3 computers, I need to run an application in parallel accross both of them, the application requires rsh, the computers are connected accross with ethernet cross over cable and I am able to ping across from either.
I have also set up /etc/hosts.equiv on the slave node with the host name of the master node on it. Also I set up .rhosts on directory(s) of both master and slave, the user names on both machines are the same. I also checked that rsh and rshd are on both machines and also edited hosts.allow and edit /etc/xinetd.d/rsh and set 'disabled=no', still the slave node is denying permission to the master node. What can I do now ? I need help !
Thanks
WayStar
02-28-2004, 11:59 AM
I'm just thinking aloud, but do you also have /etc/xinetd.d/rlogin setup to work?
Looking at the rsh man page, I see that rsh uses rlogin depending on the command options that rsh has been given.
Another thought, are you restarting xinetd after changing config files? (Someone correct me if I'm wrong, I've been setting this stuff up in Slackware lately, and I'm trying to remember the RedHat methods.) First you type "ps aux" to get the PID of the currently running xinetd, then you use that PID number: type "kill -HUP <PID>" where <PID> is the number obtained with the "ps aux", and -HUP tells it to restart and re-read the config files as it does so.
Still waking up,
Waylena
RedMap
02-28-2004, 12:25 PM
Yup,
Red Hat uses the command 'setup' which we set on Strudl's machine, so rlogin is registered there.
should there be a /etc/xinetd.d/rlogin? We didn't look there, will do later.
We always did
/sbin/service xinetd reload
to pump xinetd with the latest info, with the occasional reboot here and there after several hours. Doing this surely we won't have to do any killing?
WayStar
02-28-2004, 01:27 PM
Nah, don't need to do any killing. :) I get confused going back and forth between Slack and the others, so the "kill -HUP" method has become my favorite, since it works on both my Slack and Mandrake systems. (Slackware doesn't have the "service" command, at least not that I've found.)
But, yeah, I think that there probably should be an /etc/xinetd.c/rlogin, at least going by the rsh man page. (On Slackware, the services are listed and turned on in a configuration file instead of being represented as scripts in the /etc/xinetd.d subdirectory. To get rsh working in Slack, I had to enable rlogin as well. Haven't tried in Mandrake yet, though.)
-Waylena
RedMap
02-28-2004, 06:17 PM
So strudl, you there? Did you look at the rlogin as said above, and the firewall - ipchains?
Got it working yet?
PS. there's casserole left if you want in the kitchen.
justlinux.com
Copyright 2007 Jupitermedia Corporation All Rights Reserved.