PROBLEM 2: I'm using Windows NT 4.0 and rsh to a 9.04 unix system. When I issue the command:
rsh ip_address -l <username> <command>
I receive the following error:
remshd: login incorrect rsh: can't establish connection
What should I do to correct this?
Configuration:
Operating System - HP-UX Version - 9.04 Hardware System - HP 9000 Series - G30
SOLUTION
The key to this problem is making sure the name resolution is seen correctly by both systems and that user account names on both sides match.
<hostname of Windows NT box> <user name of NT user>
Permissions on the rhosts. should be at least 644 and owned by the unix user account or root.
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 <hostname>
rsh <hostname of unix box> <command to execute>
You should now have the output from the command without errors.
Problem Three : Printing to NT From HP-UX 