1822461 Members
2527 Online
109642 Solutions
New Discussion юеВ

remshd: login incorrect

 
SOLVED
Go to solution
Bawitdaba
Frequent Advisor

remshd: login incorrect

Hi everyone!!
I got the error remshd: login incorrect when i try to rsh from my Windows PC to a 10.20 HPUX machine.

I've followed the next procedure but still doesn't work
1)Create a user account on the unix system that matches the user
account name on the Windows NT 4.0 workstation.
2)Create an .rhosts in the users account directory on the unix system
The contents of the .rhosts should be:



Permissions on the .rhosts should be at least 644 and owned by
the unix user account or root.
3)You should also check the name resolution of the NT box from the
perspective of the Unix box by issuing the command:

who -R
In the ( ) you will see how the unix box sees the NT box coming in.

This is the name that needs to be in the .rhosts file for

4)Login on the Windows NT workstation and go to the COMMAND prompt and issue the command:

rsh

You should now have the output from the command without errors.

Names resolution is ok, anyone knows why it doesn't work????

thank you



3 REPLIES 3
harry d brown jr
Honored Contributor
Solution

Re: remshd: login incorrect


in the first line of .rhosts, put this string in (two plus signs seperated by a space)

+ +

then rsh in, then determine who you really are. I suspect your user name is invalid, and if it is, then the above approach will probably not work!

live free or die
harry
Live Free or Die
Emmanuelle
Advisor

Re: remshd: login incorrect

hi,

To resolve your error, modify the 'hosts.equiv' and the '.rhosts' files
to include each system's fully qualified name.

bye
emmanuelle
Erik Tong
Advisor

Re: remshd: login incorrect

Hi,
I had this problem and it had to do with Windows being case-insensitive. rsh from Windows would send the user id as all capitals to the unix machine. If you use the "-l " option, it sends "." to the unix machine. This information comes from a different post. I didn't actually network sniff this. I couldn't find the post.

How do you get around this? Experiment with the .rhosts file. Put the user name in all capitals, just the first letter in capitals, etc.
I tried it all in capitals and it worked for me when it was not working before.

Links to other suggestions:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x2864fd3f91d3d5118ff40090279cd0f9,00.html

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xd3a30559ff7cd4118fef0090279cd0f9,00.html