Operating System - HP-UX
1748182 Members
3530 Online
108759 Solutions
New Discussion юеВ

Re: how do i enable passwd less in rlogin

 
subrata biswal
Frequent Advisor

how do i enable passwd less in rlogin

how do i enable passwd less login through rlogin in hp ux


subrata
6 REPLIES 6
Berd
Trusted Contributor

Re: how do i enable passwd less in rlogin

John Dvorchak
Honored Contributor

Re: how do i enable passwd less in rlogin

You should be using something more secure than rlogin like ssh but since you don't have it or are unwilling to use it. You have to create a file in the user's home directory called .rhosts that is populated with the machine name that you want to "trust". Then on that "trusted" machine you rlogin to the target:

$> rlogin your.remote.box

If it has wheels or a skirt, you can't afford it.
Tingli
Esteemed Contributor

Re: how do i enable passwd less in rlogin

You can use man rhosts to get more details of the .rhosts file.
Steven Schweda
Honored Contributor

Re: how do i enable passwd less in rlogin

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

Did you really expect to get significantly
different answers this time?

Which part of "man hosts.equiv" (or "man
rhosts") was unclear?
Deeos
Regular Advisor

Re: how do i enable passwd less in rlogin

Hi Subrata,

if you want to make passwd less in rlogin, then you have to create a file in the user's home directory called .rhosts that is populated with the machine host name.

for example:
.............................................
amdb02#more .rhosts

amdb01 root
amdb02 root

amdb02#

.............................................

so here first column indicates "hostname " and second column indicates "user" that allow to rlogin without password.

and the same file should be available at second server where you want to rlogin.



Regards
Deeos
Deepak
madhuchakkaravarthy
Trusted Contributor

Re: how do i enable passwd less in rlogin

hi

U can add + in .rhost file of the user which makes the system as trusted one.
Cat .rhosts
+

Regards
Mc