Operating System - HP-UX
1833598 Members
4145 Online
110061 Solutions
New Discussion

w2k -> HPUX rsh fails if username in hosts.equiv

 
SOLVED
Go to solution
Michael_356
Frequent Advisor

w2k -> HPUX rsh fails if username in hosts.equiv

After all rsh-messages, i'd found in this forum, i'm ashamed to ask again.
My Situation as following:

PC with W2K
Server with HPUX 11.00

1.) I set my /etc/hosts.equiv to + +.
Then i run rsh host -l user1 date.
That works fine

2.) I set my /etc/hosts.equiv to PC21 +.
Then i run rsh host -l user1 date.
It works fine too.

But:

3.) I set my /etc/hosts.equiv to PC21 user1
If i ran rsh host -l user1 date
i get the message:
remshd: Login incorrect.

What's wrong now?
Anybody out there who can explain what's going wrong there?

It's not allowed for this servers, to run with the '+'-sign.
3 REPLIES 3
Laurent Menase
Honored Contributor
Solution

Re: w2k -> HPUX rsh fails if username in hosts.equiv

The hosts.equiv supposes that both of your the same user.

Apparently your user on W2K is not user1.

To check that you can use ethereal to trace the communication between the 2 systems, and check that the servers user and the client user are the same

If they are both different, you will have to
put PC21 yourw2kuser in this user1 .rhosts
Michael_356
Frequent Advisor

Re: w2k -> HPUX rsh fails if username in hosts.equiv

Thanks alot for this answer, all works fine.
But a small downer remains now.
The target for our security-guideline is a system without any .rhosts.
If i get the point, there's no way to avoid this file, while we are connecting via Windows, right?

Thanks again and 10 points for your answer

Michael
George McDuffie
Regular Visitor

Re: w2k -> HPUX rsh fails if username in hosts.equiv

I had the same problem. In tracing the remshd, I found that the WIN client was returning the username in all CAPS. Try making your user on the HP machine all caps and try again....