<?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: rsh is not working in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/rsh-is-not-working/m-p/2541107#M80386</link>
    <description>Thanks for your reply. My problem is fixed now.&lt;BR /&gt;permissions on .rhosts file was wrong.&lt;BR /&gt;&lt;BR /&gt;Sachin</description>
    <pubDate>Wed, 20 Jun 2001 13:32:55 GMT</pubDate>
    <dc:creator>Sachin Patel</dc:creator>
    <dc:date>2001-06-20T13:32:55Z</dc:date>
    <item>
      <title>rsh is not working</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsh-is-not-working/m-p/2541102#M80381</link>
      <description>Hi&lt;BR /&gt;I have redhat 7.1. on system name master and node1.&lt;BR /&gt;I have these two package on master and node1.&lt;BR /&gt;rsh-0.17-2.5&lt;BR /&gt;rsh-server-0.17-2.5&lt;BR /&gt;&lt;BR /&gt;When I run rsh command it gives me error &lt;BR /&gt;"Permisson Denied"&lt;BR /&gt;&lt;BR /&gt;I have move /etc/securetty file. I have move /etc/pim.d/rsh file. I have + in my rhosts file. I have account on both system.&lt;BR /&gt;&lt;BR /&gt;Am I missing something?&lt;BR /&gt;&lt;BR /&gt;Sachin&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Jun 2001 19:06:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsh-is-not-working/m-p/2541102#M80381</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2001-06-15T19:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: rsh is not working</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsh-is-not-working/m-p/2541103#M80382</link>
      <description>Hello Sachin,&lt;BR /&gt;&lt;BR /&gt;On the client side, make sure that the rsh binary has execute permissions. Moreover, if you are not root user, make sure that you have the proper rights on that binary.&lt;BR /&gt;Check the /etc/hosts file or the DNS configuration to make sure that the server name is properly resolved.&lt;BR /&gt;&lt;BR /&gt;On the server side, make sure that the remote shell service is started. On my system running Mandrake 8.0, rsh is started "on-demand" using xinetd. Therefore, my /etc/xinetd.d/rsh file looks like this :&lt;BR /&gt;&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;You may note the "disable" option that is set to "no". Restart the eXtended inet daemon after any changes in the file :&lt;BR /&gt;&lt;BR /&gt;   /etc/rc.d/init.d/xinetd restart&lt;BR /&gt;&lt;BR /&gt;To check if it is running :&lt;BR /&gt;&lt;BR /&gt;   netstat -a | grep shell&lt;BR /&gt;&lt;BR /&gt;Check the /etc/hosts file or the DNS configuration to make sure that the client name is properly resolved.&lt;BR /&gt;&lt;BR /&gt;After doing all of these if it still doesn't work, check the /etc/hosts.allow and /etc/hosts.deny file for security aspects. Try with empty file (security disabled).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;&lt;BR /&gt;Kodjo&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 17 Jun 2001 18:32:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsh-is-not-working/m-p/2541103#M80382</guid>
      <dc:creator>Kodjo Agbenu</dc:creator>
      <dc:date>2001-06-17T18:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: rsh is not working</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsh-is-not-working/m-p/2541104#M80383</link>
      <description>Hi Kodjo,&lt;BR /&gt;I have changed rsh file on both system, restart xinetd but no luck. I do not have hosts.allow and hosts.deny file. Name resoultion work through /etc/hosts file. I can ping node from master and vice-versa. &lt;BR /&gt;&lt;BR /&gt;Anymore idea?&lt;BR /&gt;&lt;BR /&gt;Sachin</description>
      <pubDate>Mon, 18 Jun 2001 13:00:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsh-is-not-working/m-p/2541104#M80383</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2001-06-18T13:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: rsh is not working</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsh-is-not-working/m-p/2541105#M80384</link>
      <description>Hi Sachin,&lt;BR /&gt;&lt;BR /&gt;It seems that your problem is not link to a network probem, however it looks like a permission problem.&lt;BR /&gt;&lt;BR /&gt;On my RedHat 7.0 and Mandrake 8.0, the permissions of /usr/bin/rsh are -rwsr-xr-x.&lt;BR /&gt;&lt;BR /&gt;Therefore, logon as root, change the /usr/bin/rsh permissions as follows, logout root and try again with your normal user ID :&lt;BR /&gt;&lt;BR /&gt;chmod 4755 /usr/bin/rsh&lt;BR /&gt;chown root:root /usr/bin/rsh&lt;BR /&gt;&lt;BR /&gt;As you may know, the set userID bit "s" makes the program execute as user root, even for non-root users. Programs having this bit set should be considered as security holes, unless they have been tested and tested and tested again.&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;&lt;BR /&gt;Kodjo&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck</description>
      <pubDate>Tue, 19 Jun 2001 20:13:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsh-is-not-working/m-p/2541105#M80384</guid>
      <dc:creator>Kodjo Agbenu</dc:creator>
      <dc:date>2001-06-19T20:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: rsh is not working</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsh-is-not-working/m-p/2541106#M80385</link>
      <description>Answer: settings of the permission bits of the ~/.rhosts file&lt;BR /&gt;&lt;BR /&gt;My default is : rw-rw-r--&lt;BR /&gt;&lt;BR /&gt;This causes a "permission denied".&lt;BR /&gt;&lt;BR /&gt;The permission bits should be: rw-r--r--&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Jun 2001 09:47:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsh-is-not-working/m-p/2541106#M80385</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-06-20T09:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: rsh is not working</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsh-is-not-working/m-p/2541107#M80386</link>
      <description>Thanks for your reply. My problem is fixed now.&lt;BR /&gt;permissions on .rhosts file was wrong.&lt;BR /&gt;&lt;BR /&gt;Sachin</description>
      <pubDate>Wed, 20 Jun 2001 13:32:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsh-is-not-working/m-p/2541107#M80386</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2001-06-20T13:32:55Z</dc:date>
    </item>
  </channel>
</rss>

