<?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: .rhosts file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-file/m-p/4468700#M360868</link>
    <description>&amp;gt;1. why the root was mentioned here ?&lt;BR /&gt;read the manual on what the format of the .rhosts file is:&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B9106-90011/hosts.equiv.4.html?jumpid=reg_R1002_USEN" target="_blank"&gt;http://docs.hp.com/en/B9106-90011/hosts.equiv.4.html?jumpid=reg_R1002_USEN&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;2. Whether some one can able to login in as root without passwd ?&lt;BR /&gt;yes that is what it is used for.  But, i guess the the services could be configured to not use the .rhosts file (depending on the version of the OS) or the services could be disabled. If the services are disabled usually a .rhosts file isn't allowed to exist either&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1359493" target="_blank"&gt;http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1359493&lt;/A&gt;</description>
    <pubDate>Wed, 29 Jul 2009 04:08:36 GMT</pubDate>
    <dc:creator>Curtis Larson_2</dc:creator>
    <dc:date>2009-07-29T04:08:36Z</dc:date>
    <item>
      <title>.rhosts file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-file/m-p/4468699#M360867</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am having a file .rhosts in / filesystem.&lt;BR /&gt;&lt;BR /&gt;# pg /.rhosts&lt;BR /&gt;xxxx.xxxx.xxxx.com root&lt;BR /&gt;zzzz.zzzz.zzzz.com root # TSM&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;Hope this file will have the entries of some server in a network, &lt;BR /&gt;1. why the root was mentioned here ?&lt;BR /&gt;2. Whether some one can able to login in as root without passwd ?&lt;BR /&gt;&lt;BR /&gt;Request you to provide me the solution, thanks in advance.</description>
      <pubDate>Wed, 29 Jul 2009 03:38:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-file/m-p/4468699#M360867</guid>
      <dc:creator>oprakash</dc:creator>
      <dc:date>2009-07-29T03:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: .rhosts file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-file/m-p/4468700#M360868</link>
      <description>&amp;gt;1. why the root was mentioned here ?&lt;BR /&gt;read the manual on what the format of the .rhosts file is:&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B9106-90011/hosts.equiv.4.html?jumpid=reg_R1002_USEN" target="_blank"&gt;http://docs.hp.com/en/B9106-90011/hosts.equiv.4.html?jumpid=reg_R1002_USEN&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;2. Whether some one can able to login in as root without passwd ?&lt;BR /&gt;yes that is what it is used for.  But, i guess the the services could be configured to not use the .rhosts file (depending on the version of the OS) or the services could be disabled. If the services are disabled usually a .rhosts file isn't allowed to exist either&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1359493" target="_blank"&gt;http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1359493&lt;/A&gt;</description>
      <pubDate>Wed, 29 Jul 2009 04:08:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-file/m-p/4468700#M360868</guid>
      <dc:creator>Curtis Larson_2</dc:creator>
      <dc:date>2009-07-29T04:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: .rhosts file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-file/m-p/4468701#M360869</link>
      <description>Hi&lt;BR /&gt;This means root from any server which belongs to domains xxxx.xxxx.xxxx.com and zzzz.zzzz.zzzz.com  can remotely login using rlogin command &lt;BR /&gt;&lt;BR /&gt;Sagar</description>
      <pubDate>Wed, 29 Jul 2009 04:09:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-file/m-p/4468701#M360869</guid>
      <dc:creator>Sagar Sirdesai</dc:creator>
      <dc:date>2009-07-29T04:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: .rhosts file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-file/m-p/4468702#M360870</link>
      <description>Hi Oprakash,&lt;BR /&gt;&lt;BR /&gt;.rhosts is used for user level authentication for "r" commands like rlogin, remsh.&lt;BR /&gt;&lt;BR /&gt;Your entries allows root user only from the hosts xxxx.xxxx.xxxx.com and zzzz.zzzz.zzzz.com to login without password for rlogin and remsh commands.</description>
      <pubDate>Wed, 29 Jul 2009 04:13:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-file/m-p/4468702#M360870</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-07-29T04:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: .rhosts file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-file/m-p/4468703#M360871</link>
      <description>Hi Ganesan,&lt;BR /&gt;&lt;BR /&gt;That means zzzz.zzzz.zzzz.com server should login as root. After that they can put rlogin command to login to a specific server am i right.&lt;BR /&gt;&lt;BR /&gt;( My concern is whether root privilage will go without passwd for that user in ZZZZ.ZZZZ.ZZZZ.com )</description>
      <pubDate>Wed, 29 Jul 2009 04:41:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-file/m-p/4468703#M360871</guid>
      <dc:creator>oprakash</dc:creator>
      <dc:date>2009-07-29T04:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: .rhosts file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-file/m-p/4468704#M360872</link>
      <description>Hi Oprakash,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;That means zzzz.zzzz.zzzz.com server should login as root. After that they can put rlogin command to login to a specific server am i right.&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;I am not sure how you understood the above sentence. Let me explain. &lt;BR /&gt;&lt;BR /&gt;You logged in as a root user on zzzz.zzzz.zzzz.com. Now when you connect to other server which is having .rhosts file using this command, &lt;BR /&gt;#rlogin &lt;SERVERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;it will not ask for root password. It will allow you to login as a root user. Now you have all the root privilages on the remote server.&lt;BR /&gt;&lt;BR /&gt;Hope this clear your doubts.&lt;BR /&gt;&lt;/SERVERNAME&gt;</description>
      <pubDate>Wed, 29 Jul 2009 05:14:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-file/m-p/4468704#M360872</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-07-29T05:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: .rhosts file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-file/m-p/4468705#M360873</link>
      <description>Dear Ganesan,&lt;BR /&gt;&lt;BR /&gt;Thanks for your valuable information, now i understood this scenario. &lt;BR /&gt;&lt;BR /&gt;How can we restrict this permission, without modifying this file contents. hope it will have some services running in server.&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Jul 2009 05:39:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-file/m-p/4468705#M360873</guid>
      <dc:creator>oprakash</dc:creator>
      <dc:date>2009-07-29T05:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: .rhosts file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-file/m-p/4468706#M360874</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I also tried # rlogin ZZZZ.ZZZZ.ZZZZ.com -l root  This command is asking root passwd to enter.</description>
      <pubDate>Wed, 29 Jul 2009 05:46:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-file/m-p/4468706#M360874</guid>
      <dc:creator>oprakash</dc:creator>
      <dc:date>2009-07-29T05:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: .rhosts file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-file/m-p/4468707#M360875</link>
      <description>&amp;gt;How can we restrict this permission, without modifying this file contents?&lt;BR /&gt;&lt;BR /&gt;I don't see how.  If you don't want it to be root, you change that file.&lt;BR /&gt;You could of course add code to .profile and try to check but why bother?  You want to rcp but not rlogin/remsh?  But remsh doesn't use .profile.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I also tried # rlogin ZZZZ.ZZZZ.ZZZZ.com -l root This command is asking root passwd to enter.&lt;BR /&gt;&lt;BR /&gt;What's in .rhosts is the SOURCE machine to allow, not the target.</description>
      <pubDate>Wed, 29 Jul 2009 05:56:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-file/m-p/4468707#M360875</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-07-29T05:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: .rhosts file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-file/m-p/4468708#M360876</link>
      <description>Hi Oprakash,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;How can we restrict this permission, without modifying this file contents. hope it will have some services running in server.&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;If you believe that some services will use this .rhosts file for login to the server then do not modify it.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;I also tried # rlogin ZZZZ.ZZZZ.ZZZZ.com -l root This command is asking root passwd to enter&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;As Dennis said, You should try the other way. From ZZZZ.ZZZZ.ZZZZ.com server, try to rlogin to the server which is having .rhosts file. It should allow the connection from ZZZZ.ZZZZ.ZZZZ.com without password.</description>
      <pubDate>Wed, 29 Jul 2009 08:05:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-file/m-p/4468708#M360876</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-07-29T08:05:51Z</dc:date>
    </item>
  </channel>
</rss>

