<?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 How should i disable rsh remote shell in Hpux in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-should-i-disable-rsh-remote-shell-in-hpux/m-p/7009854#M729690</link>
    <description>&lt;P&gt;I am trying to comment the remsh line in&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;/etc/inetd.conf &lt;/STRONG&gt;like&lt;STRONG&gt; #/usr/bin/remsh&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And then i tried rsh its connecting because that is restricted shell. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Eventhough am commenting in&amp;nbsp;&lt;STRONG&gt;/inetd.conf&amp;nbsp;&lt;/STRONG&gt;its connecting the remote connection.So how to avoid remote shell connection.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And what is the relation between &lt;STRONG&gt;rsh&lt;/STRONG&gt; and &lt;STRONG&gt;remsh&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Becasue after disabling&amp;nbsp; in &lt;STRONG&gt;inetd.conf&lt;/STRONG&gt; also its connecting.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jun 2018 13:14:35 GMT</pubDate>
    <dc:creator>Santhosh_Mani</dc:creator>
    <dc:date>2018-06-26T13:14:35Z</dc:date>
    <item>
      <title>How should i disable rsh remote shell in Hpux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-should-i-disable-rsh-remote-shell-in-hpux/m-p/7009854#M729690</link>
      <description>&lt;P&gt;I am trying to comment the remsh line in&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;/etc/inetd.conf &lt;/STRONG&gt;like&lt;STRONG&gt; #/usr/bin/remsh&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And then i tried rsh its connecting because that is restricted shell. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Eventhough am commenting in&amp;nbsp;&lt;STRONG&gt;/inetd.conf&amp;nbsp;&lt;/STRONG&gt;its connecting the remote connection.So how to avoid remote shell connection.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And what is the relation between &lt;STRONG&gt;rsh&lt;/STRONG&gt; and &lt;STRONG&gt;remsh&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Becasue after disabling&amp;nbsp; in &lt;STRONG&gt;inetd.conf&lt;/STRONG&gt; also its connecting.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 13:14:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-should-i-disable-rsh-remote-shell-in-hpux/m-p/7009854#M729690</guid>
      <dc:creator>Santhosh_Mani</dc:creator>
      <dc:date>2018-06-26T13:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: How should i disable rsh remote shell in Hpux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-should-i-disable-rsh-remote-shell-in-hpux/m-p/7010340#M729691</link>
      <description>&lt;P&gt;Please read the &lt;FONT face="courier new,courier"&gt;man&lt;/FONT&gt; pages for &lt;FONT face="courier new,courier"&gt;remsh&lt;/FONT&gt;, &lt;FONT face="courier new,courier"&gt;remshd&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;rsh&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;From the &lt;FONT face="courier new,courier"&gt;remshd(1M)&lt;/FONT&gt; man page, it seems that you might need to comment out 2 lines in &lt;FONT face="courier new,courier"&gt;inetd.conf&lt;/FONT&gt;, one beginning with "&lt;FONT face="courier new,courier"&gt;shell&lt;/FONT&gt;" and the other with "&lt;FONT face="courier new,courier"&gt;kshell&lt;/FONT&gt;".&amp;nbsp; After this, I suspect you would have to restart &lt;FONT face="courier new,courier"&gt;inetd&lt;/FONT&gt;, like&lt;/P&gt;&lt;PRE&gt;/sbin/init.d/inetd stop
/sbin/init.d/inetd start&lt;/PRE&gt;&lt;P&gt;On HP-UX, "rsh" is "restricted shell" and "remsh" is "remote shell". On other UNIXes, "rsh" is "remote shell". Otherwise, rsh is not related to remsh.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2018 09:09:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-should-i-disable-rsh-remote-shell-in-hpux/m-p/7010340#M729691</guid>
      <dc:creator>ranganath ramachandra</dc:creator>
      <dc:date>2018-07-02T09:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: How should i disable rsh remote shell in Hpux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-should-i-disable-rsh-remote-shell-in-hpux/m-p/7010366#M729692</link>
      <description>&lt;P&gt;To disable all r* commands in HP-UX you must comment out these 3 lines in the /etc/inetd.conf:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;login&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stream tcp nowait root /usr/lbin/rlogind&amp;nbsp; rlogind -B /etc/issue&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;shell&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stream tcp nowait root /usr/lbin/remshd&amp;nbsp;&amp;nbsp; remshd&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;exec&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stream tcp nowait root /usr/lbin/rexecd&amp;nbsp;&amp;nbsp; rexecd&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you have done that you can force inetd to reread the /etc/inetd.conf configuration file by issuing the command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;# inetd -c&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2018 13:38:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-should-i-disable-rsh-remote-shell-in-hpux/m-p/7010366#M729692</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2018-07-02T13:38:12Z</dc:date>
    </item>
  </channel>
</rss>

