Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-09-2003, 02:46 PM   #1
LQ Newbie
Registered: Jul 2003
Location: USA
Distribution: cpubuilders - Red Hat
Posts: 7

Rep: Reputation: 0
Angry rsh and rlogin on Linux to HP-UX

Please help me with this rsh problem. I am running rsh to execute a command on another HP-UX machine. I give this command
rsh barny -l al "cat /home/al/list1" >> /tmp/list1. If I do this from HP-UX (barny) to linux (fred) this works fine. If I do it from linux to HP-UX it hangs. I can see that it creates a file with /tmp/sam with 0 bytes. It is not able to execute it.
I have changed the security under /etc/pam.d/rsh on linux to "sufficient". I don't have kerberos on this machine? Is that a problem. I don't understand why this is not working? Can anybody have any experience in this?.
I don't need ssh since it is in a trusted network. ssh I understand is more secure, but it is more botheration to set up I guess. If somebody can help me with setting up ssh, that will be appreciated too..
I would appreciate immediate help
Old 09-09-2003, 05:17 PM   #2
Registered: Jul 2003
Location: Stockholm, Sweden
Distribution: RH9
Posts: 37

Rep: Reputation: 15
Hi Sam,

ssh isn't hard to set up and you can do all you can with rsh/telnet/ftp...

check out, they have pkg's for HP-UX aswell..
(on linux you probably already have it installed...)

But that wasn't your question... ;o)

It was a while ago since I worked with rsh cmd's (I am an old HP-UX admin) but I think the problem might be your .rhosts file on barney?!

How is it setup?



PS: to do the same thing with ssh;
ssh al@barney "cat /home/al/list1" >> /tmp/list1


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RSH: remuser too long error when rsh is executed from IIS dev33445 Programming 0 08-29-2005 10:34 AM
rsh rlogin xterm and vncserver missing in mandrake10.1 nanjil Mandriva 0 07-18-2005 06:05 PM
Can't get rlogin, rsh to work in FC3 dangs Linux - Security 1 01-11-2005 12:45 PM
very slow rsh & rlogin on mandarke 9.2 yoko11 Mandriva 1 03-18-2004 08:31 AM
rsh and rlogin service configuration romagnol Linux - General 1 06-28-2002 04:08 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration