<?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: RLOGIN in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/rlogin/m-p/2767154#M73864</link>
    <description>Well, I dont think you can do what you want to do unless you convert to a trusted system, and even that is a maybe.&lt;BR /&gt;&lt;BR /&gt;The /etc/hosts.equiv file and $HOME/.rhosts file only allow entries from whence a user does not have to enter a password.&lt;BR /&gt;&lt;BR /&gt;Removing either of these files WILL NOT disable the ability to rlogin to that system.  It will only make them have to enter a password when they do rlogin.&lt;BR /&gt;&lt;BR /&gt;Standard HP-UX will allow you to enter hosts which can access inetd services by modifying the /var/adm/inetd.sec file.  IMHO securing the system to your IP allowed for remsh may give you the effect you desire.&lt;BR /&gt;&lt;BR /&gt;There is an add/on package called TCP-Wrappers available for all Unices which will grant/deny based on user/group/host/network/domain who can access services of inetd.  &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
    <pubDate>Thu, 18 Jul 2002 12:35:13 GMT</pubDate>
    <dc:creator>Shannon Petry</dc:creator>
    <dc:date>2002-07-18T12:35:13Z</dc:date>
    <item>
      <title>RLOGIN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rlogin/m-p/2767148#M73858</link>
      <description>How can I turn off the rlogin option for all users except root?</description>
      <pubDate>Thu, 18 Jul 2002 12:01:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rlogin/m-p/2767148#M73858</guid>
      <dc:creator>Nobody's Hero</dc:creator>
      <dc:date>2002-07-18T12:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: RLOGIN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rlogin/m-p/2767149#M73859</link>
      <description>If you remove /etc/hosts.equiv and put a /.rhosts entry in root's home directory on each server (and make sure that no users have .rhosts entries), that should do it.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 18 Jul 2002 12:05:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rlogin/m-p/2767149#M73859</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-07-18T12:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: RLOGIN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rlogin/m-p/2767150#M73860</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Just have an entry in roots home directory .rhosts&lt;BR /&gt;&lt;BR /&gt;depending on where you are going to allow oot to log in from &lt;BR /&gt;&lt;BR /&gt;+ from all sites&lt;BR /&gt;&lt;HOST&gt; for just a single host&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Steve&lt;/HOST&gt;</description>
      <pubDate>Thu, 18 Jul 2002 12:10:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rlogin/m-p/2767150#M73860</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2002-07-18T12:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: RLOGIN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rlogin/m-p/2767151#M73861</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Just have root user name in the .rhosts file for the system you are doing rlogin from. say you are logging from host1 to host2. on host2 edit .rhosts file and then have this entry,&lt;BR /&gt;&lt;BR /&gt;host1 root&lt;BR /&gt;&lt;BR /&gt;and have this entry in /etc/hosts.equiv file on host2,&lt;BR /&gt;&lt;BR /&gt;host1&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Jul 2002 12:17:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rlogin/m-p/2767151#M73861</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-07-18T12:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: RLOGIN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rlogin/m-p/2767152#M73862</link>
      <description>Then, won't any user be able to create a .rlogin file and then resume to using rlogin?</description>
      <pubDate>Thu, 18 Jul 2002 12:21:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rlogin/m-p/2767152#M73862</guid>
      <dc:creator>Nobody's Hero</dc:creator>
      <dc:date>2002-07-18T12:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: RLOGIN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rlogin/m-p/2767153#M73863</link>
      <description>Hi Robert,&lt;BR /&gt;&lt;BR /&gt;you need a .rhosts file in roots home directory, as allready mentioned, and to be sure that no other user can use rlogin, you can take the following cron job:&lt;BR /&gt;&lt;BR /&gt;0 0 * * * find /home -name ".rhosts" -exec rm {} \;&lt;BR /&gt;&lt;BR /&gt;This will automatically delete .rhosts files which a user creates in his home directory each night.&lt;BR /&gt;&lt;BR /&gt;One more thing: rlogin as root is a security hole in my opinion, because no password is required. So you just have to get into the network ..... and you are root.&lt;BR /&gt;&lt;BR /&gt;Allways stay on the bright side of life!&lt;BR /&gt;&lt;BR /&gt;Peter</description>
      <pubDate>Thu, 18 Jul 2002 12:27:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rlogin/m-p/2767153#M73863</guid>
      <dc:creator>Peter Kloetgen</dc:creator>
      <dc:date>2002-07-18T12:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: RLOGIN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rlogin/m-p/2767154#M73864</link>
      <description>Well, I dont think you can do what you want to do unless you convert to a trusted system, and even that is a maybe.&lt;BR /&gt;&lt;BR /&gt;The /etc/hosts.equiv file and $HOME/.rhosts file only allow entries from whence a user does not have to enter a password.&lt;BR /&gt;&lt;BR /&gt;Removing either of these files WILL NOT disable the ability to rlogin to that system.  It will only make them have to enter a password when they do rlogin.&lt;BR /&gt;&lt;BR /&gt;Standard HP-UX will allow you to enter hosts which can access inetd services by modifying the /var/adm/inetd.sec file.  IMHO securing the system to your IP allowed for remsh may give you the effect you desire.&lt;BR /&gt;&lt;BR /&gt;There is an add/on package called TCP-Wrappers available for all Unices which will grant/deny based on user/group/host/network/domain who can access services of inetd.  &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Thu, 18 Jul 2002 12:35:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rlogin/m-p/2767154#M73864</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2002-07-18T12:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: RLOGIN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rlogin/m-p/2767155#M73865</link>
      <description>Just a couple further thoughts:&lt;BR /&gt;&lt;BR /&gt;1)  Yes, it's regarded as a security risk - but if you list hosts explicitly in the .rhosts file, then only those hosts you trust can use the "r"commands.&lt;BR /&gt;&lt;BR /&gt;2)  If you use the hostname username format and list only root, then other users won't be allowed, and if they can't get here to start with, they can't put an .rhosts file in the home directory they would have to have on this particular server under their user account that they would have to have on this particular server.&lt;BR /&gt;&lt;BR /&gt;Of course, I may be way off base but I think in very limited circumstances this can be a safe and useful technique.&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Jul 2002 12:40:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rlogin/m-p/2767155#M73865</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-07-18T12:40:13Z</dc:date>
    </item>
  </channel>
</rss>

