<?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 Disable root rlogin in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-rlogin/m-p/3329131#M188722</link>
    <description>Hello All:&lt;BR /&gt;&lt;BR /&gt;Is there a way to disable rlogin for root, but allow all the r* services enable(ie. rcp, remsh...) for root.  I have already set up an /etc/securetty file to force root login only from the console.  I would configure the /var/adm/inetd.sec file, but this would disable rlogin for everyone.  I'm only interested in disable rlogin for root.  Any advice is appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Henry</description>
    <pubDate>Mon, 12 Jul 2004 12:20:31 GMT</pubDate>
    <dc:creator>Henry Nguyen</dc:creator>
    <dc:date>2004-07-12T12:20:31Z</dc:date>
    <item>
      <title>Disable root rlogin</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-rlogin/m-p/3329131#M188722</link>
      <description>Hello All:&lt;BR /&gt;&lt;BR /&gt;Is there a way to disable rlogin for root, but allow all the r* services enable(ie. rcp, remsh...) for root.  I have already set up an /etc/securetty file to force root login only from the console.  I would configure the /var/adm/inetd.sec file, but this would disable rlogin for everyone.  I'm only interested in disable rlogin for root.  Any advice is appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Henry</description>
      <pubDate>Mon, 12 Jul 2004 12:20:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-rlogin/m-p/3329131#M188722</guid>
      <dc:creator>Henry Nguyen</dc:creator>
      <dc:date>2004-07-12T12:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Disable root rlogin</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-rlogin/m-p/3329132#M188723</link>
      <description>TCP wrappers.&lt;BR /&gt;&lt;BR /&gt;Check /etc/hosts.allow and /etc/hosts.deny&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Mon, 12 Jul 2004 12:29:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-rlogin/m-p/3329132#M188723</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-07-12T12:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Disable root rlogin</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-rlogin/m-p/3329133#M188724</link>
      <description>That's not true.  With /var/adm/inetd.sec, you can specify a user ID which you want to deny a service.  Man inetd.sec for an example.&lt;BR /&gt;&lt;BR /&gt;Hai</description>
      <pubDate>Mon, 12 Jul 2004 12:40:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-rlogin/m-p/3329133#M188724</guid>
      <dc:creator>Hai Nguyen_1</dc:creator>
      <dc:date>2004-07-12T12:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Disable root rlogin</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-rlogin/m-p/3329134#M188725</link>
      <description>Henry,&lt;BR /&gt;&lt;BR /&gt;There is no way, you can do that with inetd.sec. If is for rejecting/allow service to a host/network&lt;BR /&gt;&lt;BR /&gt;Your only option seems to be tcp wrappers.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Mon, 12 Jul 2004 12:44:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-rlogin/m-p/3329134#M188725</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-07-12T12:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Disable root rlogin</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-rlogin/m-p/3329135#M188726</link>
      <description>Hi Hai,&lt;BR /&gt;&lt;BR /&gt;I have to agree w/RAC on this one.&lt;BR /&gt;With inetd.sec granularity can only go down to hostname/IP as well as subnet.&lt;BR /&gt;With tcp-wrappers you *can* go down to username - like:&lt;BR /&gt;username@hostname.com&lt;BR /&gt;&lt;BR /&gt;Henry - I believe that's the only way you can do this short of some code in /etc/profile that will query access method as well as login name to disallow root rlogins.&lt;BR /&gt;&lt;BR /&gt;tcp-wrappers cab be had here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Networking/Admin/tcp_wrappers-7.6/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Networking/Admin/tcp_wrappers-7.6/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;highly recommended.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Mon, 12 Jul 2004 12:53:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-rlogin/m-p/3329135#M188726</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-07-12T12:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Disable root rlogin</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-rlogin/m-p/3329136#M188727</link>
      <description>Jeff and RAC,&lt;BR /&gt;&lt;BR /&gt;You are both right.  My bad for believing my memory with reviewing the man page.  Henry, inetd.sec cannot handle this.  Sorry for my mistake.&lt;BR /&gt;&lt;BR /&gt;Hai</description>
      <pubDate>Mon, 12 Jul 2004 14:05:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-rlogin/m-p/3329136#M188727</guid>
      <dc:creator>Hai Nguyen_1</dc:creator>
      <dc:date>2004-07-12T14:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Disable root rlogin</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-rlogin/m-p/3329137#M188728</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Have you checked /etc/inetd.conf and run inetd -c to pick up the changes if required. Also ensure no TCP wrappers by checking if you have a /etc/hosts.allow and /etc/hosts.deny.&lt;BR /&gt;&lt;BR /&gt;It also worth checking /var/adm/inetd.sec for any entries.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Simon</description>
      <pubDate>Tue, 24 Jan 2006 04:51:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-rlogin/m-p/3329137#M188728</guid>
      <dc:creator>Simon Wickham_6</dc:creator>
      <dc:date>2006-01-24T04:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Disable root rlogin</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-rlogin/m-p/3329138#M188729</link>
      <description>Yes. You can simply make in /.profile file.&lt;BR /&gt;&lt;BR /&gt;/.profile&lt;BR /&gt;&lt;BR /&gt;ps | grep -q 'rlogind'&lt;BR /&gt;if [[ $? -eq 0 ]]&lt;BR /&gt;then&lt;BR /&gt;  echo "ERROR: rlogin with root account is disabled"&lt;BR /&gt;  sleep 2&lt;BR /&gt;  exit 1&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;Note: remsh &lt;HOSTNAME&gt; is like rlogin &lt;HOSTNAME&gt;&lt;BR /&gt;&lt;BR /&gt;It is working.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu&lt;/HOSTNAME&gt;&lt;/HOSTNAME&gt;</description>
      <pubDate>Tue, 24 Jan 2006 05:01:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-rlogin/m-p/3329138#M188729</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-01-24T05:01:05Z</dc:date>
    </item>
  </channel>
</rss>

