1834711 Members
2735 Online
110069 Solutions
New Discussion

Re: rlogin problem

 
SOLVED
Go to solution
Hoang Chi Cong_1
Honored Contributor

rlogin problem

Hi
I need a quick and short answer:

I have never faced with this trouble! Because it is very strange!
Even added host name and user name with this format:"server_name user" in remote server (.rhosts file) but I still can not use rlogin. It allways require Password :(

Please help!
Looking for a special chance.......
11 REPLIES 11
Warren_9
Honored Contributor

Re: rlogin problem

hi,

is the domain configured on the server?
if yes, try to use full name instead of short name.

GOOD LUCK!
Hoang Chi Cong_1
Honored Contributor

Re: rlogin problem

No domain!
The strange is: another server with the same Vlan with the target server can use rlogin!!!

Looking for a special chance.......
Adisuria Wangsadinata_1
Honored Contributor
Solution

Re: rlogin problem

Hi,

Check this url (docID : HONCIKKBRC00000171) about 'Rlogin is prompting for a password' :

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080076759

Hope this information can help you.

Cheers,
AW
now working, next not working ... that's unix
Joseph Loo
Honored Contributor

Re: rlogin problem

hi,

what does the .rhosts file from the server u r trying to rlogin?

follow the steps stated in:

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080076759

regards.
what you do not see does not mean you should not believe
Devender Khatana
Honored Contributor

Re: rlogin problem

Hi,

I also have faced similar problems sometimes and the relolution was either of these steps.

1. The remote .rhosts file should be in the home directory of the user from which you are trying rlogin.
For ex. if you try rlogin through hp user, then the entry should be there in .rhosts file lying in home directry of hp user rather than at some other location.

2. The permissions on .rhosts file should be proper and the owner shall be that user only in whose home directory it lies.

HTH,
Devender
Impossible itself mentions "I m possible"
Muthukumar_5
Honored Contributor

Re: rlogin problem

Follow this steps:

1. Machine 1:

Go to user1's home directory and create a file as,

.rhosts with 400 permission as,
Machine2 user2

2. Machine 2:

Go to user2's home directory and create a file as,

.rhosts with 400 permission with contents as,
Machine1 user1

Test Scenario(s):

1. From Machine1's user1shell:

# rlogin Machine2 -l user2

2. From Machine2's user2 shell:

# rlogin Machine1 -l user1

Post the problem, your try-outs and error messages if it is not working more.

hth.
Easy to suggest when don't know about the problem!
VIKAS AGRAWAL
Frequent Advisor

Re: rlogin problem

for rcp the following things are required .

1. .rhosts file in use home directory
2. same User name with unique id in both the systems
3. use permissions should be same for this

If it is not working then try to put both the server names in file called /etc/hosts.equiv

Hope it solves

Regards

Vikas Agrawal
AwadheshPandey
Honored Contributor

Re: rlogin problem

Check ur /etc/host.equiv file, link for u

http://www.informatik.uni-frankfurt.de/doc/man/hpux/rlogin.1.html
man rlogin
Awadhesh
It's kind of fun to do the impossible
VIKAS AGRAWAL
Frequent Advisor

Re: rlogin problem

one more thing u can check is the owner of the .rhosts file, always it should be the local hosts name ( not root for other users )

Reg

vikas
Orhan Biyiklioglu
Respected Contributor

Re: rlogin problem

You must use the same username on both machines. ie.

if you have

machine2 user1

in the .rhosts file of the user1 in machine1, you must also be user1 on machine2 to rlogin machine1

hth
Hoang Chi Cong_1
Honored Contributor

Re: rlogin problem

Thanks to all

Finally, I found the reason cause is related with MC/SG :(

Must be setup in .rhosts file with the real IP address!

It works now. :)
I am a happy man :)))

Thanks again.
Looking for a special chance.......