<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: remsh HPUX -&amp;gt; Linux in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903167#M936161</link>
    <description>Hi-&lt;BR /&gt;&lt;BR /&gt;A few points:&lt;BR /&gt;&lt;BR /&gt;(1) A "connection refused" (for any service) is normally generated by the kernel (not xinetd/inetd) when a TCP connection is opened to a port which does not have any corresponding process listening on it (rarely this can be interface specific).&lt;BR /&gt;&lt;BR /&gt;Technically, this is done by the kernel issuing a TCP RSET in response to the TCP SYN that starts the connection.  There may be some other circumstances in which some clients report "Connection refused", but this is the normal case.&lt;BR /&gt;&lt;BR /&gt;(2) Firewalls or routing problems will typically result in a "host unreachable", "port unreachable" (both by sending ICMP messages), or no reply at all until the connection times out (when it or the ICMP messages get blackholed).  NAT devices may generate Connection refused, and I know of at least one security device which forged TCP RSET's, but that's very unusual.&lt;BR /&gt;&lt;BR /&gt;(3) For some servers (sendmail, named, sshd) the listening is normally done by a long-running daemon.  For others (telnet, rsh/rlogin/remsh) it is done by inetd (when listed in /etc/inetd.conf) or xinetd (when listed under /etc/xinetd.conf and /etc/xinet.d), which listens on the port, accepts the connection (causing and starts the individual daemon as needed.  Note that most implementation require that you send a SIGHUP to inetd after modifying /etc/inetd.conf so that it will reread the file and start listening on the new port.&lt;BR /&gt;&lt;BR /&gt;This is most likely to be your problem.&lt;BR /&gt;&lt;BR /&gt;(3) Pam doesn't come into play until after the connection is accepted and it is ready to authorize the user.  It is possible that a sufficiently broken pam configuration could cause the daemon to abort during its startup phase after the connection is accepted.  If a daemon is really broken (high numbers of failures) inetd may temporarily disable it (check syslog for messages).&lt;BR /&gt;&lt;BR /&gt;(4) The Berkeley "r" protocols (rsh/remsh, rlogin, rcp) are really, really insecure and should never be enabled on any Internet accessible host (only behind firewalls).  I always advise people to use ssh (or openssh) instead, which can be turned into an almost drop-in replacement for rsh/remsh/rlogin.  I don't know if HP has a distribution available, but you can always go to &lt;A href="http://www.openbsd.org" target="_blank"&gt;http://www.openbsd.org&lt;/A&gt; (where openssh is hosted) and download it from there.  Ssh isn't perfect, but it's a lot better than rsh.&lt;BR /&gt;&lt;BR /&gt;Hopefully this helps,&lt;BR /&gt;-Scott-</description>
    <pubDate>Thu, 13 Feb 2003 01:45:05 GMT</pubDate>
    <dc:creator>Scott Corzine</dc:creator>
    <dc:date>2003-02-13T01:45:05Z</dc:date>
    <item>
      <title>remsh HPUX -&gt; Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903161#M936155</link>
      <description>Experts,&lt;BR /&gt;&lt;BR /&gt;I am looking to use the remsh command to do fbackups from an HP 9000 to a Linux server.  I have read the forums here on the setup but I must have somthing wrong.  Error I recive is:&lt;BR /&gt;rcmd: connect: Gaff_server: Connection refused&lt;BR /&gt;&lt;BR /&gt;I also don't have anything in my inetd.conf on my remote Linux server.&lt;BR /&gt;&lt;BR /&gt;I am lost.</description>
      <pubDate>Wed, 12 Feb 2003 20:19:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903161#M936155</guid>
      <dc:creator>Charles Gaffney_1</dc:creator>
      <dc:date>2003-02-12T20:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: remsh HPUX -&gt; Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903162#M936156</link>
      <description>This error message indicate that there is a problem with remsh or rexec commands. Check if you can run simple commands:&lt;BR /&gt;&lt;BR /&gt;# remsh hostname ls /etc&lt;BR /&gt;# rcp /tmp/test hostname:/tmp/&lt;BR /&gt;&lt;BR /&gt;Check values entered in /var/adm/inetd.sec and /etc/inetd.conf files. Even a typo can give you this error.</description>
      <pubDate>Wed, 12 Feb 2003 20:40:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903162#M936156</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-02-12T20:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: remsh HPUX -&gt; Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903163#M936157</link>
      <description>You have to enable it in inetd.conf on the remote system - otherwise, it won't know what to do with the incoming connection request.&lt;BR /&gt;&lt;BR /&gt;It's usually in the default /etc/inetd.conf, but commented out.&lt;BR /&gt;&lt;BR /&gt;Vince&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Feb 2003 20:53:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903163#M936157</guid>
      <dc:creator>Vincent Fleming</dc:creator>
      <dc:date>2003-02-12T20:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: remsh HPUX -&gt; Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903164#M936158</link>
      <description>Ahhhh, the glory of Linux shows...&lt;BR /&gt;&lt;BR /&gt;Like all systems, for password access you need a $HOME/.rhosts file, or for non root users you can use /etc/hosts.equiv&lt;BR /&gt;&lt;BR /&gt;While this may be enough for you to access a HP-UX server as root, in Linux we have to take an extra step.&lt;BR /&gt;&lt;BR /&gt;The knit-picker here is PAM, and not inetd/xinetd.  Pam is configured in /etc/pam.d.&lt;BR /&gt;&lt;BR /&gt;If you look at this directlry, you have alot of rules for every possible method of connection in nice tiny files.  I.E.&lt;BR /&gt;% ls /etc/pam.d&lt;BR /&gt;apacheconf       kisdndock      reboot                     sshd&lt;BR /&gt;chfn             kppp           redhat-config-apache       su&lt;BR /&gt;chsh             kscreensaver   redhat-config-date         sudo&lt;BR /&gt;dateconfig       kuser          redhat-config-printer-gui  system-auth&lt;BR /&gt;firewall-config  kwuftpd        redhat-config-time         up2date&lt;BR /&gt;ftp              locale_config  redhat-config-users        up2date-config&lt;BR /&gt;gdm              login          rexec                      up2date-nox&lt;BR /&gt;gdmconfig        neat           rhn_register               v4l-conf&lt;BR /&gt;gnorpm-auth      other          rlogin                     xdm&lt;BR /&gt;halt             passwd         rp3-config                 xscreensaver&lt;BR /&gt;hwbrowser        poweroff       rsh                        xserver&lt;BR /&gt;internet-druid   ppp            samba&lt;BR /&gt;kbdrate          printconf-gui  serviceconf&lt;BR /&gt;kde              printtool      smtp&lt;BR /&gt;&lt;BR /&gt;Now when you look inside these files, you will notice that for many services, auth is required.  This means that even if you have a hosts.equiv, pam security says you must auth through pam.&lt;BR /&gt;&lt;BR /&gt;You can not delete these lines, but do need to modify the connection methods authorization as "Optional".&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I'd highly recommend you do a bit of reading on pam.&lt;BR /&gt;&lt;BR /&gt;man pam.conf&lt;BR /&gt;and/or&lt;BR /&gt;info pam.conf&lt;BR /&gt;&lt;BR /&gt;Also, I'd highly recommend that you backup files before you start making changes, and test each change before you reboot the system.&lt;BR /&gt;&lt;BR /&gt;changes in pam control files do not require a reboot.&lt;BR /&gt;&lt;BR /&gt;Lastly, if this box is on an open internet line, I'd recommend you dont change things.  Get a box off the internet to do what you need.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Wed, 12 Feb 2003 21:19:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903164#M936158</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2003-02-12T21:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: remsh HPUX -&gt; Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903165#M936159</link>
      <description>Thanks.  This Linux box was dropped in my lap.  There is nothing in the inetd.conf file.  It was 0 bytes.  I tried to insert this: login stream tcp nowait username /usr/lbin/rclogind rclogind&lt;BR /&gt;&lt;BR /&gt;Still get  rcmd: connect: Gaff_server: Connection refused&lt;BR /&gt;&lt;BR /&gt;is my inetd.conf file setup wrong?</description>
      <pubDate>Wed, 12 Feb 2003 21:20:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903165#M936159</guid>
      <dc:creator>Charles Gaffney_1</dc:creator>
      <dc:date>2003-02-12T21:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: remsh HPUX -&gt; Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903166#M936160</link>
      <description>The inetd.conf file will be null if you are using xinetd.  The control files for this are in /etc/xinetd.d.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Since you are getting a connection refused, the xinet daemon is running just fine.  &lt;BR /&gt;&lt;BR /&gt;If it was not running, you would get a timeout error.&lt;BR /&gt;&lt;BR /&gt;Did you take a look yet at the pam config file?  &lt;BR /&gt;&lt;BR /&gt;Last note, HP-UX is the only Unix that uses remsh.  All other systems use rsh.&lt;BR /&gt;&lt;BR /&gt;So the file you want to change is /etc/pam.d/rsh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Wed, 12 Feb 2003 21:37:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903166#M936160</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2003-02-12T21:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: remsh HPUX -&gt; Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903167#M936161</link>
      <description>Hi-&lt;BR /&gt;&lt;BR /&gt;A few points:&lt;BR /&gt;&lt;BR /&gt;(1) A "connection refused" (for any service) is normally generated by the kernel (not xinetd/inetd) when a TCP connection is opened to a port which does not have any corresponding process listening on it (rarely this can be interface specific).&lt;BR /&gt;&lt;BR /&gt;Technically, this is done by the kernel issuing a TCP RSET in response to the TCP SYN that starts the connection.  There may be some other circumstances in which some clients report "Connection refused", but this is the normal case.&lt;BR /&gt;&lt;BR /&gt;(2) Firewalls or routing problems will typically result in a "host unreachable", "port unreachable" (both by sending ICMP messages), or no reply at all until the connection times out (when it or the ICMP messages get blackholed).  NAT devices may generate Connection refused, and I know of at least one security device which forged TCP RSET's, but that's very unusual.&lt;BR /&gt;&lt;BR /&gt;(3) For some servers (sendmail, named, sshd) the listening is normally done by a long-running daemon.  For others (telnet, rsh/rlogin/remsh) it is done by inetd (when listed in /etc/inetd.conf) or xinetd (when listed under /etc/xinetd.conf and /etc/xinet.d), which listens on the port, accepts the connection (causing and starts the individual daemon as needed.  Note that most implementation require that you send a SIGHUP to inetd after modifying /etc/inetd.conf so that it will reread the file and start listening on the new port.&lt;BR /&gt;&lt;BR /&gt;This is most likely to be your problem.&lt;BR /&gt;&lt;BR /&gt;(3) Pam doesn't come into play until after the connection is accepted and it is ready to authorize the user.  It is possible that a sufficiently broken pam configuration could cause the daemon to abort during its startup phase after the connection is accepted.  If a daemon is really broken (high numbers of failures) inetd may temporarily disable it (check syslog for messages).&lt;BR /&gt;&lt;BR /&gt;(4) The Berkeley "r" protocols (rsh/remsh, rlogin, rcp) are really, really insecure and should never be enabled on any Internet accessible host (only behind firewalls).  I always advise people to use ssh (or openssh) instead, which can be turned into an almost drop-in replacement for rsh/remsh/rlogin.  I don't know if HP has a distribution available, but you can always go to &lt;A href="http://www.openbsd.org" target="_blank"&gt;http://www.openbsd.org&lt;/A&gt; (where openssh is hosted) and download it from there.  Ssh isn't perfect, but it's a lot better than rsh.&lt;BR /&gt;&lt;BR /&gt;Hopefully this helps,&lt;BR /&gt;-Scott-</description>
      <pubDate>Thu, 13 Feb 2003 01:45:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903167#M936161</guid>
      <dc:creator>Scott Corzine</dc:creator>
      <dc:date>2003-02-13T01:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: remsh HPUX -&gt; Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903168#M936162</link>
      <description>Shannon and Scott,&lt;BR /&gt;&lt;BR /&gt;Thank you both for the help.  I learn more in 15 min here at the forum then any books.&lt;BR /&gt;&lt;BR /&gt;Shannon,&lt;BR /&gt;I don???t have a /etc/pam.d/rsh file.  The reading on PAM was interesting. Thanks.&lt;BR /&gt;&lt;BR /&gt;Scott,&lt;BR /&gt;&lt;BR /&gt;I looked in my /etc/xinetd.d directory and I have several configuration files.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;total 18&lt;BR /&gt;-rw-r--r--    1 root     root          297 Mar  4  2002 chargen&lt;BR /&gt;-rw-r--r--    1 root     root          317 Mar  4  2002 chargen-udp&lt;BR /&gt;-rw-r--r--    1 root     root          443 Feb 21  2002 cups-lpd&lt;BR /&gt;-rw-r--r--    1 root     root          327 Feb 27  2002 cvs&lt;BR /&gt;-rw-r--r--    1 root     root          297 Mar  4  2002 daytime&lt;BR /&gt;-rw-r--r--    1 root     root          317 Mar  4  2002 daytime-udp&lt;BR /&gt;-rw-r--r--    1 root     root          289 Mar  4  2002 echo&lt;BR /&gt;-rw-r--r--    1 root     root          308 Mar  4  2002 echo-udp&lt;BR /&gt;-rw-r--r--    1 root     root          468 Feb 28  2002 fam&lt;BR /&gt;-rw-r--r--    1 news     news          336 Feb 22  2002 leafnode&lt;BR /&gt;-rw-r--r--    1 root     root          344 Feb 22  2002 linuxconf-web&lt;BR /&gt;-rw-r--r--    1 root     root          309 May 14  2002 proftpd-xinetd&lt;BR /&gt;-rw-r--r--    1 root     root          317 Mar 14  2002 rsync&lt;BR /&gt;-rw-r--r--    1 root     root          314 Mar  4  2002 servers&lt;BR /&gt;-rw-r--r--    1 root     root          312 Mar  4  2002 services&lt;BR /&gt;-rw-r--r--    1 root     root          355 Mar 16  2002 swat&lt;BR /&gt;-rw-r--r--    1 root     root          321 Mar  4  2002 time&lt;BR /&gt;-rw-r--r--    1 root     root          317 Mar  4  2002 time-udp&lt;BR /&gt;&lt;BR /&gt;Which one do I modify?&lt;BR /&gt;&lt;BR /&gt;Did I inherit a bad box or am I just missing something?&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Feb 2003 14:25:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903168#M936162</guid>
      <dc:creator>Charles Gaffney_1</dc:creator>
      <dc:date>2003-02-13T14:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: remsh HPUX -&gt; Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903169#M936163</link>
      <description>Scott, your presumption does not fit with Most Unices.  Smart kernels are not that common.  In linux, you have a smart kernel but the error returned from an empty port is not usually "connection refused", but "service not available".  &lt;BR /&gt;&lt;BR /&gt;Since you have no "rsh" file in your xinetd.d directory nor a /etc/pam.d/rsh, the server is not installed.  Test this with the following:&lt;BR /&gt;&lt;BR /&gt;% rpm -q --all | grep rsh&lt;BR /&gt;rsh-0.17-5&lt;BR /&gt;rsh-server-0.17-5&lt;BR /&gt;&lt;BR /&gt;(I hope it's a Redhat system so you can use RPM anyway).&lt;BR /&gt;&lt;BR /&gt;After the service is installed, it will be disabled.  So modify your /etc/xinetd.d/rsh file to look like this.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;vi /etc/xinetd.d/rsh&lt;BR /&gt;service shell&lt;BR /&gt;{&lt;BR /&gt;        disable = no&lt;BR /&gt;        socket_type             = stream&lt;BR /&gt;        wait                    = no&lt;BR /&gt;        user                    = root&lt;BR /&gt;        log_on_success          += USERID&lt;BR /&gt;        log_on_failure          += USERID&lt;BR /&gt;        server                  = /usr/sbin/in.rshd&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Then, you need to make sure that your /etc/pam.d/rsh file looks like this:&lt;BR /&gt;% vi /etc/pam.d/rsh&lt;BR /&gt;&lt;BR /&gt;#%PAM-1.0&lt;BR /&gt;# For root login to succeed here with pam_securetty, "rexec" must be&lt;BR /&gt;# listed in /etc/securetty.&lt;BR /&gt;auth       optional     /lib/security/pam_nologin.so&lt;BR /&gt;auth       optional     /lib/security/pam_securetty.so&lt;BR /&gt;auth       optional     /lib/security/pam_env.so&lt;BR /&gt;auth       optional     /lib/security/pam_stack.so service=system-auth&lt;BR /&gt;account    optional     /lib/security/pam_stack.so service=system-auth&lt;BR /&gt;session    optional     /lib/security/pam_stack.so service=system-auth&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Thu, 13 Feb 2003 14:51:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903169#M936163</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2003-02-13T14:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: remsh HPUX -&gt; Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903170#M936164</link>
      <description>Shannon,&lt;BR /&gt;&lt;BR /&gt;I tried the rpm test, it returned nothing.  I then went and created the two files.  I rebooted the server and presto changeo...nothing...&lt;BR /&gt;The rpm test still does not return anything.&lt;BR /&gt;&lt;BR /&gt;I have Mandrake Linux BTW.</description>
      <pubDate>Thu, 13 Feb 2003 15:10:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903170#M936164</guid>
      <dc:creator>Charles Gaffney_1</dc:creator>
      <dc:date>2003-02-13T15:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: remsh HPUX -&gt; Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903171#M936165</link>
      <description>Shannon,&lt;BR /&gt;&lt;BR /&gt;Let me take that back.  I read the man pages for rpm.&lt;BR /&gt;&lt;BR /&gt;I ran rpm and the query returned nothing.</description>
      <pubDate>Thu, 13 Feb 2003 15:14:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903171#M936165</guid>
      <dc:creator>Charles Gaffney_1</dc:creator>
      <dc:date>2003-02-13T15:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: remsh HPUX -&gt; Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903172#M936166</link>
      <description>Shannon,&lt;BR /&gt;&lt;BR /&gt;I started looked for the /usr/sbin/in.rshd file...it does not exist on my server.  Could that be half my problem?</description>
      <pubDate>Thu, 13 Feb 2003 15:22:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903172#M936166</guid>
      <dc:creator>Charles Gaffney_1</dc:creator>
      <dc:date>2003-02-13T15:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: remsh HPUX -&gt; Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903173#M936167</link>
      <description>I'm not sure how mandrake works, and if there distro has an RPM or not.  I'll give you what I would do in Redhat, and hopefully it works for your box.&lt;BR /&gt;&lt;BR /&gt;First, I'd load the OS CD's and mount them.  Search each CD for rsh-server.&lt;BR /&gt;&lt;BR /&gt;(normally my CD mounts to /mnt/cdrom).&lt;BR /&gt;&lt;BR /&gt;% cd /mnt/cdrom&lt;BR /&gt;% find . -name "*" -print | grep -i rsh | grep -i server&lt;BR /&gt;&lt;BR /&gt;This should find me the server package.&lt;BR /&gt;&lt;BR /&gt;Next, I'd install it with RPM.&lt;BR /&gt;&lt;BR /&gt;% rpm -Uvh /mnt/cdrom/&lt;RETURNED rsh="" server="" package="" dir=""&gt;&lt;BR /&gt;&lt;BR /&gt;After the package is installed, I would have to modify the /etc/xinetd.d/rsh file, and the /etc/pam.d/rsh file.  The installation of the server package "should" overwrite previous system files.  Use my previous notes to modify those files.&lt;BR /&gt;&lt;BR /&gt;No need to reboot, it's Linux.  just restart the xinetd daemon.  Redhat would be&lt;BR /&gt;% /etc/init.d/xinetd restart&lt;BR /&gt;&lt;BR /&gt;I'd be curious to know if the RPM commands work the same on Mandrake as Redhat.  Let me know how it turns out.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon&lt;/RETURNED&gt;</description>
      <pubDate>Thu, 13 Feb 2003 15:29:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903173#M936167</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2003-02-13T15:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: remsh HPUX -&gt; Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903174#M936168</link>
      <description>Shannon,&lt;BR /&gt;&lt;BR /&gt;Whew...ok..rsh is now installed...but now I get permission denied errors running simple &lt;BR /&gt;&lt;BR /&gt;remsh Gaff_server ll</description>
      <pubDate>Thu, 13 Feb 2003 17:34:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903174#M936168</guid>
      <dc:creator>Charles Gaffney_1</dc:creator>
      <dc:date>2003-02-13T17:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: remsh HPUX -&gt; Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903175#M936169</link>
      <description>&amp;gt; but now I get permission denied errors running simple &lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; remsh Gaff_server ll&lt;BR /&gt;&lt;BR /&gt;Make sure that the *remote* (i.e. r[em]shd server)  ~user/.rhosts file contains the *local* (i.e. r[em]sh client) hostname *and* that the file is owned by the user in whose home directory it is, i.e. ~franks/.rhost *must* be owned by franks. At least those are the rules for HP-UX/UNIX, so I assume they also hold for Linux.&lt;BR /&gt;&lt;BR /&gt;Can the Linux box r[em]sh to itself? I.e.&lt;BR /&gt;&lt;BR /&gt;linux&amp;gt; r[em]sh `hostname` date&lt;BR /&gt;&lt;BR /&gt;(use date(1) instead of ll(1) in order to eliminate file/directory access problems)</description>
      <pubDate>Fri, 14 Feb 2003 10:19:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903175#M936169</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2003-02-14T10:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: remsh HPUX -&gt; Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903176#M936170</link>
      <description>Make the Mods I said, then try to rsh to the linux box.  &lt;BR /&gt;&lt;BR /&gt;Like previously mentioned, you will still have to have a $HOME/.rhosts for root (which in most Linux distro's is /root) and a $HOME/.rhosts for users or a /etc/hosts.equiv for non-root.&lt;BR /&gt;&lt;BR /&gt;One other key is that by default, the installation of the service does not enable it.  You will have to make sure that the "disabled: yes" line in /etc/xinetd.d/rexec/rsh is set to "no".   Then restart xinet.&lt;BR /&gt;&lt;BR /&gt;Pam is an Extra security, beyond that of the inetd/rshd which looks for the access file.&lt;BR /&gt;&lt;BR /&gt;Now, what I found is that some Linux distro's use the same in.rshd as they do for in.rexec, some dont.  Since I'm not sure what your doing, make the pam.conf files look the same for the remote connect methods on rsh, rexec, and rlogin (if they are all there anyway).&lt;BR /&gt;&lt;BR /&gt;NOTE:  The $HOME/.rhosts is different from standard.  man .rhosts will give you the correct format/syntax.&lt;BR /&gt;&lt;BR /&gt;If you enable the service, make the pam.conf modifications, and have $HOME/.rhosts(root) and /etc/hosts.equiv all should be good.  &lt;BR /&gt;&lt;BR /&gt;I have a feeling that the service is still disabled via the xinetd config file.&lt;BR /&gt;&lt;BR /&gt;If it is enabled, can you rsh in as a user and not root? or noone can rsh in?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Fri, 14 Feb 2003 15:44:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-hpux-gt-linux/m-p/2903176#M936170</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2003-02-14T15:44:18Z</dc:date>
    </item>
  </channel>
</rss>

