1827876 Members
2051 Online
109969 Solutions
New Discussion

rlogin to linux sever

 
shajes_1
Occasional Advisor

rlogin to linux sever

Hi, I have a linux system where i need to rlogin without a password. but even after putting entries in .rhosts and /etc/hosts.equiv it is prompting for the password.

~/.rhosts
server1 shajes

Can any one give some suggestions.

thanks,
PVS
3 REPLIES 3
Muthukumar_5
Honored Contributor

Re: rlogin to linux sever

See the checklists here.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1000218

--
Muthu
Easy to suggest when don't know about the problem!
Stuart Browne
Honored Contributor

Re: rlogin to linux sever

Make sure the permissions on the '.rhosts' file is only 600, and if you are are trying to do this as root, ensure that you have added 'rsh' to '/etc/securetty'.
One long-haired git at your service...
shajes_1
Occasional Advisor

Re: rlogin to linux sever

Hi,
Thanks for the help, i could find the problem was with the entries in /etc/pam.d/rlogin file. The problem resolved after putting the entry

auth sufficient pam_rhosts_auth.so

Regards,
PVS