Operating System - HP-UX
1752800 Members
5511 Online
108789 Solutions
New Discussion юеВ

Re: rlogin asking for password

 
SOLVED
Go to solution
Anitha_3
Frequent Advisor

rlogin asking for password

Hi Experts,

today is rlogin day.

here is a typical problem,

i habe two machines "hpport" and "Eureka" o have a .rhosts entries as follows

'tbaadm is the user from whr i want to rlogin

on hpport
==============

Eureka tbaadm


on Eureka
===========
hpport tbaadm.

the problem is i am able to rlogin from "eureka" to "hpport" without prompting for password. but whn i rlogin from "hpport" to "Eureks" it is asking me for password.

kindly let me know. what i need to do...

thanks & regards,
Govind.
30 REPLIES 30
Sunil Sharma_1
Honored Contributor

Re: rlogin asking for password

Govind,

check the permission of .rhosts file it should be own by tbaadm.

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Manish Srivastava
Trusted Contributor

Re: rlogin asking for password

Hi,

Check for typos too.

manish
Anitha_3
Frequent Advisor

Re: rlogin asking for password

hi sunil,

the file owner is tbaadm only..

regards,
govind.
Muthukumar_5
Honored Contributor

Re: rlogin asking for password

Are you using .rhosts file on the current $HOME/ diretory for that user. Did you check the owner and user permission to access that file.

Is there any settings on /etc/hosts.equiv file there.
r* command access is check as,
When a request is made for access, the /etc/hosts.equiv file is searched first. If a match is found, access is permitted. If no match is found, the .rhosts file is searched, if one exists in the local user's home directory.

Change the owner / group permission related to user and it must not be a symbolic link. If you are not having some other entries related on /etc/hosts.equiv then try now.

Regards
-Muthu
Easy to suggest when don't know about the problem!
Marcel Boogert_1
Trusted Contributor

Re: rlogin asking for password

Hi Govind,

Check your /etc/hosts.equiv file for the presence of tbaadm.

MB.
Anitha_3
Frequent Advisor

Re: rlogin asking for password

hi,

i dont have hosts.equiv file. i have only .rhosts file. so it will search in only this file.

my $HOME is /wd/tbaadm on the both the machines. i have .rhosts files at this location and and owned by tbaadm only.

regards,
Govind.
Marcel Boogert_1
Trusted Contributor

Re: rlogin asking for password

Hi Govind,

Check the hpport machine's /etc/inetd.conf file for the presence of:

login stream tcp nowait root /usr/lbin/rlogind rlogind

this should be in there to handle rlogin requests.

On the hpport machine do:

ps -ef | grep rlogind

This daemon should be running there.

MB.
Sunil Sharma_1
Honored Contributor

Re: rlogin asking for password

what permission .rhost file have ?

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Sunil Sharma_1
Honored Contributor

Re: rlogin asking for password

insted of hostname try entering Ip address in .rhosts file.
Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***