1834725 Members
2262 Online
110069 Solutions
New Discussion

Re: rlogin problems

 
SOLVED
Go to solution
Lee Abell
Frequent Advisor

rlogin problems

I am trying to rlogin between 2 hp 9000 boxes running 11.0 without passing a password.

hostA is in the /root/.rhosts file on hostB & hostB is in the /root/.rhosts file on hostA.

I have tried putting them in each other's host.equiv files and it makes no difference. It still prompts for a password.

Any thoughts? Any help would be greatly appreciated. Thanks!

9 REPLIES 9
Helen French
Honored Contributor

Re: rlogin problems

Hi,

Some points:

1) Which is the HOME directory of root ? If it is '/', then you have to edit /.rhosts
2) Do you have the hostname entries in /etc/hosts file ?
3) Try putting the fully qualified domain name, if you are not.

HTH,
Shiju
Life is a promise, fulfill it!
Justo Exposito
Esteemed Contributor

Re: rlogin problems

Hi,

The .rhost file must be in the home directory for the users that run rlogin and must have this appearance:

machine user

Regards,

Justo.
Help is a Beatiful word
Lee Abell
Frequent Advisor

Re: rlogin problems

1. /root is root's home directory

2. Yes the entries are in the /etc/hosts file

3. The fully qualified host name is already listed as an alias.

Any other thoughts??
MANOJ SRIVASTAVA
Honored Contributor

Re: rlogin problems

Hi Paula

Here are the steps to check for .

1. Check that .rhosts file are in the home direcorty of the user. and have thentery as

host user name.

2. The host and the IP address hsould be in the /etc/hosts file .

3. Ofcourse the user names should be the same.

Incase you still ahve probelsm replace the host name in .rhosts file with the IP Adress like say instead of

abc username

change it to:

10.2.10.30 username.


Manoj Srivastava


S.K. Chan
Honored Contributor

Re: rlogin problems

Try putting both the fully qualified hostname and just the hostname in .rhosts. For example on my machine I have this in my home dir (.rhosts).

mars.tech.com skchan
mars skchan
John Carr_2
Honored Contributor
Solution

Re: rlogin problems

Hi

I suspect there is some kind of problem translating the hostname to IP address in the .rhosts file. Try putting the IP address in the hosts file if this works then you probably have a problem with your /etc/hosts or DNS or NIS.

John
Helen French
Honored Contributor

Re: rlogin problems

Hi,

Some points:

1) Enter both hostname and alias to the .rhosts file.
2) Try putting ip_address instead of hostnames.

HTH,
Shiju
Life is a promise, fulfill it!
Roger Baptiste
Honored Contributor

Re: rlogin problems

hi,

For testing, put the full domain name of the host in the .rhosts file. hostname.domain
and also put the IP address of the host in the .rhosts file. Then, try rlogin. If it works, then the problem is with IP-reverse lookup name resolution.

HTh
raj
Take it easy.
MANOJ SRIVASTAVA
Honored Contributor

Re: rlogin problems

Hi Paula

Do a nslookup for the other host from one host and see how it resolves the name , whether it does through /etc/hosts or the DNS , a definate clue is to just rename the resolv.conf file and then try doing rlogin.



Manoj Srivastava