Re: Cannot rsh from linux to aix
From: Rich Olver (keystonegeo_at_comcast.net)
Date: 09/21/04
- Next message: Menno Duursma: "Re: How to determine available system calls on a Unix/Linux system"
- Previous message: Mark McIntyre: "Re: How to determine available system calls on a Unix/Linux system"
- In reply to:(deleted message) Michael Vilain
: "Re: Cannot rsh from linux to aix" - Next in thread: Kevin Collins: "Re: Cannot rsh from linux to aix"
- Reply: Kevin Collins: "Re: Cannot rsh from linux to aix"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 21 Sep 2004 14:06:29 -0600
Mike:
Thanks for your advice.
When I rlogin to the aixbox, and run 'who am i'. It gives me my name,
and 'linux box host name'. So it doesn't give an actual IP address.
Any other thoughts?
Thanks
Rich
"Michael Vilain " wrote:
> In article <aeOdnawEfv_V5c3cRVn-rQ@comcast.com>,
> Rich Olver <keystonegeo@comcast.net> wrote:
>
>
>>Hi:
>> I have an application which needs to use rsh to send commands from a
>>Linux box (RHEL3) to an AIX 4.3.3 rs/6000 box.
>>
>> The command just hangs.
>>IE > rsh aixbox date
>>will just sit there, for a long time.
>>
>>The user name, password, and user ID are the same on both boxes.
>>On the AIX box I have a .rhosts file correctly placed, and a hosts.equiv
>>file set up correctly.
>>
>>In fact, as you know, if you type 'rsh' without a command listed, it
>>will try to rlogin you in. This in fact works!
>>IE > rsh aixbox
>> will open a rlogin connection, without even asking for a password.
>>
>>I suspect that there's something going on with the Linux box, and the
>>output from the rsh command isn't being properly greeted upon it's return.
>>
>>Can anyone help?
>>
>>Thanks
>>Rich Olver
>>Denver
>
>
> Usually when there's some sort of delay like this in rsh [insert
> <generic warning about the inherent insecurity of rsh and telnet> here],
> it's usually because the remote system can't resolve the hostname of the
> local system.
>
> Try the following
>
> rsh aixbox
>
> aixbox $ who am i
> aixbox $ exit
>
> Is the last column of 'who am i' a pure IP address? Then fix this on
> the aixbox in DNS, NIS, LDAP, or the local files. Then try rsh with an
> argument.
>
- Next message: Menno Duursma: "Re: How to determine available system calls on a Unix/Linux system"
- Previous message: Mark McIntyre: "Re: How to determine available system calls on a Unix/Linux system"
- In reply to:(deleted message) Michael Vilain
: "Re: Cannot rsh from linux to aix" - Next in thread: Kevin Collins: "Re: Cannot rsh from linux to aix"
- Reply: Kevin Collins: "Re: Cannot rsh from linux to aix"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|