[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] rsh error



On 11/14/06, Christopher Jon Jursa <cjursa@xxxxxxxxxxxx> wrote:
Dear Diego Bello Carrono,

It's Carreño, not Carrono


You mentioned in your email (in the messages below my signature) for me to
search for a /etc/hosts.equiv file.

The contents are as follows.

# Do not remove the following line, or various programs
# that require network functionality will fail.
136.142.118.106 gis10.exp.sis.pitt.edu  gis10   localhost.localdomain localhost

This is from my gis10 machine.  This file seems to allow access to itself.
Should I add a line for the other machines I want to access?

Yes. This file indicates which machines should be trusted to allow an
incomming rsh conection.

I do not have this file but I do have the following in this directory.

/etc/hosts
/etc/hosts.deny
/etc/hosts.allow

I have changed the allow to the following as per the other response to this
message.

in.rshd: 136.142.118.114/255.255.255.0
in.rlogin: 136.142.118.114/255.255.255.0


I guess that's hosts.allow. Check that you use the net address and the
subnet netmask, not the machine IP address.

Is the /etc/hosts file the same as the /etc/hosts.equiv file you speak
about?  If so, if I want to reach gis10 (136.142.118.106) from gis18
(136.142.118.114), what do I place in gis18's /etc/hosts.allow file?


No. The /etc/hosts file is like a list of aliases to ip address.
The /etc/hosts.allow, as its name says, is used to specify which hosts
can access to wich services.

You can allow an entire network to access a service. In every node you
use from a network you should add something like this:

in.rshd: Your_network_address/Your_subnet_mask
in.rlogin: Your_network_address/Your_subnet_mask

If you don't know the network parameters, ask your network admin.

Regards.

Sincerely,

Christopher Jon Jursa



--
Diego Bello Carreño
Estudiante Memorista de Ingeniería Civil Informática
UTFSM, Valparaíso, Chile
Usuario #294897 counter.li.org