<?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: rcp to localhost in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/rcp-to-localhost/m-p/2671316#M1215</link>
    <description>You guys rock!  That did it.  Thanks to everyone for the help.&lt;BR /&gt;&lt;BR /&gt;Its hard to find good help online.  Thanks again.&lt;BR /&gt;&lt;BR /&gt;Matt</description>
    <pubDate>Thu, 28 Feb 2002 19:16:22 GMT</pubDate>
    <dc:creator>matt_43</dc:creator>
    <dc:date>2002-02-28T19:16:22Z</dc:date>
    <item>
      <title>rcp to localhost</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rcp-to-localhost/m-p/2671309#M1208</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I am really new to linux so this may be a dumb question.  Well I am testing some perl scripts and all I want to do is rcp to myself (localhost).  But I keep getting connection refused.&lt;BR /&gt;&lt;BR /&gt;I am running redhat 7.2 and logged on as root.  I did a workstation installation.  Oh I also read the rcp top read solution but it didn't help.&lt;BR /&gt;&lt;BR /&gt;Is there a flag somewhere I have to turn to activate rcp?&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Feb 2002 20:34:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rcp-to-localhost/m-p/2671309#M1208</guid>
      <dc:creator>matt_43</dc:creator>
      <dc:date>2002-02-25T20:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: rcp to localhost</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rcp-to-localhost/m-p/2671310#M1209</link>
      <description>Check your /etc/xinetd.d directory and see if a file named exec or rexec exists in it.&lt;BR /&gt;&lt;BR /&gt;If not, you probably have to download rsh-server-&lt;VERSION&gt;.i386.rpm and install it.&lt;BR /&gt;&lt;BR /&gt;It doesn't get installed by default for most configs.&lt;/VERSION&gt;</description>
      <pubDate>Mon, 25 Feb 2002 20:53:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rcp-to-localhost/m-p/2671310#M1209</guid>
      <dc:creator>Eric Ladner</dc:creator>
      <dc:date>2002-02-25T20:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: rcp to localhost</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rcp-to-localhost/m-p/2671311#M1210</link>
      <description>Ya I have got that directory.  I did install the rsh-server  but I still got the connection refused.</description>
      <pubDate>Mon, 25 Feb 2002 21:18:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rcp-to-localhost/m-p/2671311#M1210</guid>
      <dc:creator>matt_43</dc:creator>
      <dc:date>2002-02-25T21:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: rcp to localhost</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rcp-to-localhost/m-p/2671312#M1211</link>
      <description>Thigns to check:&lt;BR /&gt;&lt;BR /&gt;  /root/.rhosts:&lt;BR /&gt;    This file says what machines can access your machine without prompting for a password.  In this scenario, it should contain 'localhost'.  If that doesn't work, you'll need to check /var/log/messages to see where the system thinks the connection is being initiated from.&lt;BR /&gt;&lt;BR /&gt;  /etc/pam.d/rsh:&lt;BR /&gt;    This file will  say whether the 'root' user can 'rsh' and do such commands from pseudo tty's.  Comment out the line "/lib/security/pam_securetty.so".  WARNING: This does open your machine up somewhat.  If you can avoid doing 'r' commands as 'root', I would.&lt;BR /&gt;&lt;BR /&gt;  "chkconfig --list rsh"&lt;BR /&gt;    This command should return 'rsh    on'.  If not, then 'rsh' commands won't work.  If you need to change it, these two commands must be executed:&lt;BR /&gt;&lt;BR /&gt;      chkconfig rsh on&lt;BR /&gt;      /etc/rc.d/init.d/xinetd restart&lt;BR /&gt;&lt;BR /&gt;    This will enable 'rsh', and restart the 'xinetd' process (which is what actually answers the connection request).&lt;BR /&gt;&lt;BR /&gt;Hope this gives you some help on where to head.&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Feb 2002 22:10:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rcp-to-localhost/m-p/2671312#M1211</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2002-02-25T22:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: rcp to localhost</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rcp-to-localhost/m-p/2671313#M1212</link>
      <description>Matt, &lt;BR /&gt;&lt;BR /&gt;Also check /etc/xinetd.d/rsh&lt;BR /&gt;&lt;BR /&gt;by default, even if installed, the service is disabled. Enable by replacing &lt;BR /&gt;"         disable                 = yes"&lt;BR /&gt;with  &lt;BR /&gt;"         disable                 = no"&lt;BR /&gt;and then restart xinetd.&lt;BR /&gt;&lt;BR /&gt;Or better yet, get openssh and install it. Remote shell access that's secure. What a concept.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;Mark</description>
      <pubDate>Thu, 28 Feb 2002 02:40:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rcp-to-localhost/m-p/2671313#M1212</guid>
      <dc:creator>Mark Fenton</dc:creator>
      <dc:date>2002-02-28T02:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: rcp to localhost</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rcp-to-localhost/m-p/2671314#M1213</link>
      <description>Umm, Mark, those checks on 'xinet.d/' are already covered.  That's what 'chkconfig --list rsh' is for.  It will state whether it's enabled or disabled.</description>
      <pubDate>Thu, 28 Feb 2002 03:56:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rcp-to-localhost/m-p/2671314#M1213</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2002-02-28T03:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: rcp to localhost</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rcp-to-localhost/m-p/2671315#M1214</link>
      <description>Also check /etc/hosts.allow and /etc/hosts.deny.&lt;BR /&gt;&lt;BR /&gt;You will probably want to add this:&lt;BR /&gt;&lt;BR /&gt;ALL: localhost&lt;BR /&gt;ALL: 127.0.0.1 &lt;BR /&gt;&lt;BR /&gt;to your /etc/hosts.allow file.  By default, most stuff is denied, I believe.</description>
      <pubDate>Thu, 28 Feb 2002 14:30:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rcp-to-localhost/m-p/2671315#M1214</guid>
      <dc:creator>Eric Ladner</dc:creator>
      <dc:date>2002-02-28T14:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: rcp to localhost</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rcp-to-localhost/m-p/2671316#M1215</link>
      <description>You guys rock!  That did it.  Thanks to everyone for the help.&lt;BR /&gt;&lt;BR /&gt;Its hard to find good help online.  Thanks again.&lt;BR /&gt;&lt;BR /&gt;Matt</description>
      <pubDate>Thu, 28 Feb 2002 19:16:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rcp-to-localhost/m-p/2671316#M1215</guid>
      <dc:creator>matt_43</dc:creator>
      <dc:date>2002-02-28T19:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: rcp to localhost</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rcp-to-localhost/m-p/2671317#M1216</link>
      <description>Matt,&lt;BR /&gt;&lt;BR /&gt;You need to give the people who helped you some points.  Especially if you ever need help again.  We can look at your name and see if you give points or not and a lot of people who might know the answer will just skip on to the next post rather than waste time replying.  It may seem silly but the recognition you get from earning points really motivates you to provide the correct answer.&lt;BR /&gt;&lt;BR /&gt;Ron</description>
      <pubDate>Thu, 28 Feb 2002 22:31:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rcp-to-localhost/m-p/2671317#M1216</guid>
      <dc:creator>Ron Kinner</dc:creator>
      <dc:date>2002-02-28T22:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: rcp to localhost</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rcp-to-localhost/m-p/2671318#M1217</link>
      <description>Points I didn't know anything about that.  Consider it done.</description>
      <pubDate>Thu, 28 Feb 2002 22:36:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rcp-to-localhost/m-p/2671318#M1217</guid>
      <dc:creator>matt_43</dc:creator>
      <dc:date>2002-02-28T22:36:44Z</dc:date>
    </item>
  </channel>
</rss>

