Networking Forums

Networking Forums > Computer Networking > Linux Networking > rsh aix to linux

Reply
Thread Tools Display Modes

rsh aix to linux

 
 
loial
Guest
Posts: n/a

 
      03-02-2006, 07:48 AM
I have a requirement to rsh from a AIX machien to a linux machine

from aixuser on aixhost I run

rsh linuxhost -l linuxuser date

returns

permission denied


/etc/hosts.equiv on linuxhost is

+ aixuser
+ aixhost

rshd is running on linuxhost

What am I missing?

 
Reply With Quote
 
 
 
 
Bill Marcum
Guest
Posts: n/a

 
      03-02-2006, 02:36 PM
On 2 Mar 2006 00:48:35 -0800, loial
<(E-Mail Removed)> wrote:
> I have a requirement to rsh from a AIX machien to a linux machine
>
> from aixuser on aixhost I run
>
> rsh linuxhost -l linuxuser date
>
> returns
>
> permission denied
>
>
> /etc/hosts.equiv on linuxhost is
>
> + aixuser
> + aixhost
>
> rshd is running on linuxhost
>
> What am I missing?
>

Check /etc/hosts.allow and /etc/hosts.deny. By the way, why rsh and not
ssh?


--
BOFH excuse #267:
The UPS is on strike.
 
Reply With Quote
 
SEND NO SPAM
Guest
Posts: n/a

 
      03-07-2006, 08:05 PM
loial wrote:
> I have a requirement to rsh from a AIX machien to a linux machine
>
> from aixuser on aixhost I run
>
> rsh linuxhost -l linuxuser date
>
> returns
>
> permission denied
>
>
> /etc/hosts.equiv on linuxhost is
>
> + aixuser
> + aixhost
>
> rshd is running on linuxhost
>
> What am I missing?
>



You may need to setup a .rhosts file of allowed hosts on the linux machine

Keep in mind rsh ... telnet is not secure
*** Free account sponsored by SecureIX.com ***
*** Encrypt your Internet usage with a free VPN account from http://www.SecureIX.com ***
 
Reply With Quote
 
Andrei Ivanov
Guest
Posts: n/a

 
      03-07-2006, 10:19 PM
loial <(E-Mail Removed)> wrote:
> I have a requirement to rsh from a AIX machien to a linux machine
> from aixuser on aixhost I run
>
> rsh linuxhost -l linuxuser date
>
> returns
>
> permission denied


Before records in ~/.rhosts or /etc/hosts.equiv will be considered,
rsh service should be enabled first. Usually in.rshd is started by
xinetd daemon, so you might need to adjust /etc/xinetd.d/rsh
file ("disable" and/or "only_from" attributes). Also, if "linuxuser"
is "root", then you need to add "rsh" into the /etc/securetty file
as well.

--
andrei
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
If I replace my existing Linksys box with Linux Router, how can I know what kind of Routing to be enabled on my Linux Box? santa19992000@yahoo.com Linux Networking 3 01-06-2005 01:18 PM
Another great example of the Linux community in action: NOT! (Was: Linux networking is a ball of confusion) Kevin Pederson Linux Networking 15 10-01-2004 07:13 PM
Trouble Installing Linux/Cisco VPN Client Has anyone had trouble compiling the linux cisco vpn client? Here is the output of the install script: # uname -rviosm Linux 2.4.22-1.2188.nptl #1 Wed Apr 21 20:19:18 EDT 2004 x86_64 x86_64 GNU/Linux JSH Linux Networking 4 07-02-2004 12:48 PM
Red Hot Linux v9.0 [2 DVDs]. Red Hot Linux v9.0 [3 CDs]. Redhat Enterprise Linux ES v3.0 REPACK [4 CDs]. Mandrake Linux 9.2 [3 CDs] -new ! TEL Linux Networking 0 12-01-2003 12:06 PM
Red Hot Linux v9.0 [2 DVDs]. Red Hot Linux v9.0 [3 CDs]. Redhat Enterprise Linux ES v3.0 REPACK [4 CDs]. Mandrake Linux 9.2 [3 CDs] - new ! TEL Linux Networking 0 11-29-2003 11:27 AM



1 2 3 4 5 6 7 8 9 10 11