1825766 Members
2113 Online
109687 Solutions
New Discussion

Rlogin

 

Rlogin

Hello All,

I have a porblem with rlogin.
I want to setup rlogin from one server to another server.
I want the rlogin not to ask for password and directly login to the server, but not how root, but how diferent user.
All the configurations is OK. But it is only work with ip address into "$HOME/.rhosts" and not hostname.
Do you know waht the problem ??
Thanks for all.

rodriguescj
4 REPLIES 4
Chris Wilshaw
Honored Contributor

Re: Rlogin

The problem will probably be the host name resolution on the remote server.

If you have it as

1.1.1.1 servera

in /etc/hosts

then .rhosts needs to contain

servera

if it's

1.1.1.1 servera.here.there.anywhere

then .rhosts should contain

servera.here.there.anywhere

Ideally, the permissions on the the file should be -rw-------, owned by the user in question.
melvyn burnard
Honored Contributor

Re: Rlogin

have you checked whether nslookup hostname gives you back the correct ip address? and also whether nslookup ip address gives you the correct hostname?
Sounds like you do not have this set up correctly.
check /etc/hosts on each node, and also see if you are using dns or nis.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!

Re: Rlogin

OK,
My DNS is OK .
rodriguescj
John Bolene
Honored Contributor

Re: Rlogin

after you telnet to the remote server, do a who -a

see what machine name you are logged-in from and put that name in the .rhosts file
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com