<?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 question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-question/m-p/2933503#M112093</link>
    <description>Sridhar, Sunil- reversing the FQDN and the hostname in /etc/hosts worked.  Thanks for your help!&lt;BR /&gt;&lt;BR /&gt;Don</description>
    <pubDate>Mon, 24 Mar 2003 17:04:55 GMT</pubDate>
    <dc:creator>Donald Rider</dc:creator>
    <dc:date>2003-03-24T17:04:55Z</dc:date>
    <item>
      <title>.rhosts question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-question/m-p/2933499#M112089</link>
      <description>I'm setting up two 11.00 hosts to trust each other via .rhosts as root.  Attempts to remsh as root from hosta to hostb fail when I have the fully qualified domain name in each other's /.rhosts file, ie, hosta.mydomain.com.  However, when I just put the host name, ie, hosta, in the /.rhosts file, the remsh works fine.  Naturally, I would like to have the qualified domain name in the .rhosts files.  &lt;BR /&gt;&lt;BR /&gt;The systems resolve host names by its /etc/hosts file, then DNS.  Both systems have entries like this:&lt;BR /&gt;&lt;BR /&gt;nnn.nnn.nnn.nnn hosta hosta.mydomain.com&lt;BR /&gt;nnn.nnn.nnn.nnn hostb hostb.mydomain.com&lt;BR /&gt;&lt;BR /&gt;The hosts resolve fine both by IP and hostname with nslookup.&lt;BR /&gt;&lt;BR /&gt;What am I doing wrong?  Thanks in advance for sparing the lecture on the insecurity of the r-commands.&lt;BR /&gt;&lt;BR /&gt;Don Rider&lt;BR /&gt;</description>
      <pubDate>Sat, 22 Mar 2003 19:51:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-question/m-p/2933499#M112089</guid>
      <dc:creator>Donald Rider</dc:creator>
      <dc:date>2003-03-22T19:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: .rhosts question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-question/m-p/2933500#M112090</link>
      <description>Hi Don,&lt;BR /&gt;&lt;BR /&gt;It is all in the lookup. In your /etc/hosts hostb is specified as the primary DNS name and the system will look for it.&lt;BR /&gt;&lt;BR /&gt;On hosta, if you reverse the /etc/hosts entry like below&lt;BR /&gt;&lt;BR /&gt;nnn.nnn.nnn.nnn hostb.mydomain.com hostb &lt;BR /&gt;&lt;BR /&gt;then it will resolve the IP of hostb to fully qualified domain name and you should be able to login.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Sat, 22 Mar 2003 20:01:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-question/m-p/2933500#M112090</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-03-22T20:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: .rhosts question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-question/m-p/2933501#M112091</link>
      <description>I am not sure I understand you correctly,&lt;BR /&gt;&lt;BR /&gt;This what I understand form your question.&lt;BR /&gt;&lt;BR /&gt;1. when you add the host name in the .rhost file it works, and&lt;BR /&gt;2. when you add the FQDN in the .rhost it does'nt&lt;BR /&gt;&lt;BR /&gt;however you have both in the host file.&lt;BR /&gt;&lt;BR /&gt;is this correct?&lt;BR /&gt;&lt;BR /&gt;also check the /etc/nsswitch.conf file to ensure hosts point to files 1st and 2nd to DNS.&lt;BR /&gt;&lt;BR /&gt;also try and remove DNS from this file and try again. I believe (might be wrong) that the remshd daemon will try to reolve by DNS if you have a FQDN in the .rhosts file&lt;BR /&gt;&lt;BR /&gt;peace&lt;BR /&gt;Donny</description>
      <pubDate>Sun, 23 Mar 2003 16:57:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-question/m-p/2933501#M112091</guid>
      <dc:creator>Donny Jekels</dc:creator>
      <dc:date>2003-03-23T16:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: .rhosts question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-question/m-p/2933502#M112092</link>
      <description>Hi Don,&lt;BR /&gt;&lt;BR /&gt;This problem is related to server lookup only.&lt;BR /&gt;you have to change the oreder the way you kept the enty in /etc/hosts file.&lt;BR /&gt;&lt;BR /&gt;.rhost file always take hostname not the alias defined. so you can put hosta/hostb as alias nad fully qualified domain name as host name.&lt;BR /&gt;your problem will get resolved.&lt;BR /&gt;&lt;BR /&gt;Sunil S</description>
      <pubDate>Mon, 24 Mar 2003 06:29:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-question/m-p/2933502#M112092</guid>
      <dc:creator>Sunil Sharma_1</dc:creator>
      <dc:date>2003-03-24T06:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: .rhosts question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-question/m-p/2933503#M112093</link>
      <description>Sridhar, Sunil- reversing the FQDN and the hostname in /etc/hosts worked.  Thanks for your help!&lt;BR /&gt;&lt;BR /&gt;Don</description>
      <pubDate>Mon, 24 Mar 2003 17:04:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rhosts-question/m-p/2933503#M112093</guid>
      <dc:creator>Donald Rider</dc:creator>
      <dc:date>2003-03-24T17:04:55Z</dc:date>
    </item>
  </channel>
</rss>

