<?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 remsh and /etc/nsswitch.conf in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-and-etc-nsswitch-conf/m-p/2622146#M38952</link>
    <description>When I try to remsh from host A to host B, I get a message "login incorrect". Other facts are: 1) Host A is not registered in DNS. 2)Host B's /etc/nsswitch.conf uses DNS NIS and then FILES. &lt;BR /&gt;&lt;BR /&gt;When I switch the order in /etc/nsswitch.conf to NIS FILES DNS, remsh from host A to host B DOES work.&lt;BR /&gt;&lt;BR /&gt;What I don't understand is why should I have to switch the order in /etc/nsswitch.conf if for example NSLOOKUP on host A DOES find host B in NIS even when I DON'T switch the order (i.e. the order is DNS, NIS, FILES and each service "continues" on to the next service) ?</description>
    <pubDate>Thu, 29 Nov 2001 14:44:49 GMT</pubDate>
    <dc:creator>Elliott Moskowitz</dc:creator>
    <dc:date>2001-11-29T14:44:49Z</dc:date>
    <item>
      <title>remsh and /etc/nsswitch.conf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-and-etc-nsswitch-conf/m-p/2622146#M38952</link>
      <description>When I try to remsh from host A to host B, I get a message "login incorrect". Other facts are: 1) Host A is not registered in DNS. 2)Host B's /etc/nsswitch.conf uses DNS NIS and then FILES. &lt;BR /&gt;&lt;BR /&gt;When I switch the order in /etc/nsswitch.conf to NIS FILES DNS, remsh from host A to host B DOES work.&lt;BR /&gt;&lt;BR /&gt;What I don't understand is why should I have to switch the order in /etc/nsswitch.conf if for example NSLOOKUP on host A DOES find host B in NIS even when I DON'T switch the order (i.e. the order is DNS, NIS, FILES and each service "continues" on to the next service) ?</description>
      <pubDate>Thu, 29 Nov 2001 14:44:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-and-etc-nsswitch-conf/m-p/2622146#M38952</guid>
      <dc:creator>Elliott Moskowitz</dc:creator>
      <dc:date>2001-11-29T14:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: remsh and /etc/nsswitch.conf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-and-etc-nsswitch-conf/m-p/2622147#M38953</link>
      <description>Elliott,&lt;BR /&gt;&lt;BR /&gt;This won't help, but what version of HP-UX are you using. I have exactly the same situation on a HP-UX 11.00 system so I am beginning to wonder if we have discovered a small undocumented feature (bug)&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Nov 2001 14:57:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-and-etc-nsswitch-conf/m-p/2622147#M38953</guid>
      <dc:creator>John Waller</dc:creator>
      <dc:date>2001-11-29T14:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: remsh and /etc/nsswitch.conf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-and-etc-nsswitch-conf/m-p/2622148#M38954</link>
      <description>I'm assuming you have [NOTFOUND=continue] in your file. Try using&lt;BR /&gt;   [TRYAGAIN=continue]&lt;BR /&gt;How does the entry in nsswitch.conf looks like?</description>
      <pubDate>Thu, 29 Nov 2001 15:07:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-and-etc-nsswitch-conf/m-p/2622148#M38954</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2001-11-29T15:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: remsh and /etc/nsswitch.conf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-and-etc-nsswitch-conf/m-p/2622149#M38955</link>
      <description>Hi &lt;BR /&gt;Try using &lt;BR /&gt;DNS[NOTFOUND=continue UNAVAL=continue] NIS [NOTFOUND=continue UNAVAL=continue] files &lt;BR /&gt;in nsswitch.conf file.&lt;BR /&gt;&lt;BR /&gt;Sachin</description>
      <pubDate>Thu, 29 Nov 2001 15:10:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-and-etc-nsswitch-conf/m-p/2622149#M38955</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2001-11-29T15:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: remsh and /etc/nsswitch.conf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-and-etc-nsswitch-conf/m-p/2622150#M38956</link>
      <description>To all: &lt;BR /&gt;&lt;BR /&gt;I'm using hp/ux 11.0.&lt;BR /&gt;&lt;BR /&gt;host A's /etc/nsswitch.conf is as follows.&lt;BR /&gt;hosts: dns [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] nis [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] files&lt;BR /&gt;&lt;BR /&gt;Once again I'd like to mention that nslookup for a host that doesn't exist in DNS does find the host in NIS using the above configuration (like it should work), it's remsh'ing from host B that doesn't work. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Nov 2001 15:16:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-and-etc-nsswitch-conf/m-p/2622150#M38956</guid>
      <dc:creator>Elliott Moskowitz</dc:creator>
      <dc:date>2001-11-29T15:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: remsh and /etc/nsswitch.conf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-and-etc-nsswitch-conf/m-p/2622151#M38957</link>
      <description>For added security (since the 'r' commands are just a bit unsecure), the destination host will try to validate who's knocking on the door. This is done by querying the nameserver, whatever that may be. If it is not found (reverse lookup), then it is assumed the incoming 'r' command is being spoofed.&lt;BR /&gt;&lt;BR /&gt;I can't explain the NIS versus DNS behavior other than to use nslookup to retrieve the hostname by looking up the IP address and see what source nslookup got an answer.&lt;BR /&gt;&lt;BR /&gt;My suggestion would be to use files first. Now the /etc/hosts file does not have to contain every IP address, only those that are important and frequently used. There is a major reliability advantage here: DNS and NIS servers must be extremely reliable as well as the routes to these servers. &lt;BR /&gt;&lt;BR /&gt;If something goes wrong with NIS/DNS, exceedingly long delays (30+ seconds) will be incurred in all sorts of unexpected places, from backups (30 to 90 second delay per file!) to difficulties with 'r' commands that seem to hang (wait long enough and they get through), and so on.  This can affect every computer on the network that uses DNS/NIS first.&lt;BR /&gt;&lt;BR /&gt;And from a network load and overall performance point of view, having common IP addresses locally resolved can significantly improve performance in some cases.  A good example is that most commercial network backup programs ask for host/IP information for every file...backup a million files and a million DNS/NIS requests will be issued.</description>
      <pubDate>Thu, 29 Nov 2001 15:33:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-and-etc-nsswitch-conf/m-p/2622151#M38957</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-11-29T15:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: remsh and /etc/nsswitch.conf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-and-etc-nsswitch-conf/m-p/2622152#M38958</link>
      <description>Do you have any other entries in nsswitch.conf apart from "hosts:" ? Did you try putting "services:" in A and resolve in the same order as for "hosts:" ? &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Nov 2001 15:57:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-and-etc-nsswitch-conf/m-p/2622152#M38958</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2001-11-29T15:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: remsh and /etc/nsswitch.conf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-and-etc-nsswitch-conf/m-p/2622153#M38959</link>
      <description>Bill,&lt;BR /&gt;As far as what you mentioned: &lt;BR /&gt;"I can't explain the NIS versus DNS behavior other than to use nslookup to retrieve the hostname by looking up the IP address and see what source nslookup got an answer."&lt;BR /&gt;I did an NSLOOKUP on the ip address for host A and DNS returned an obsolete name (i.e. the name returned was not host A but rather "xxxxx" - I guess the name that was originally assigned in DNS to the IP address but was never updated). Does this have anything to do with my problem ??&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Nov 2001 15:57:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-and-etc-nsswitch-conf/m-p/2622153#M38959</guid>
      <dc:creator>Elliott Moskowitz</dc:creator>
      <dc:date>2001-11-29T15:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: remsh and /etc/nsswitch.conf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-and-etc-nsswitch-conf/m-p/2622154#M38960</link>
      <description>S.K. Chan,&lt;BR /&gt;&lt;BR /&gt;As far as I know from man pages "services" has nothing to do with the procedure that remshd uses on the remote node, and I do not have any other line other that hosts in the /etc/nsswitch.conf file.</description>
      <pubDate>Thu, 29 Nov 2001 16:02:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-and-etc-nsswitch-conf/m-p/2622154#M38960</guid>
      <dc:creator>Elliott Moskowitz</dc:creator>
      <dc:date>2001-11-29T16:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: remsh and /etc/nsswitch.conf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-and-etc-nsswitch-conf/m-p/2622155#M38961</link>
      <description>I think you've found it.  You can try temporarily adding the obselete name in your .rhosts file until DNS gets updated.&lt;BR /&gt;&lt;BR /&gt;I also like files first and only put what's neccessary in /etc/hosts.&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Thu, 29 Nov 2001 16:10:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-and-etc-nsswitch-conf/m-p/2622155#M38961</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2001-11-29T16:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: remsh and /etc/nsswitch.conf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-and-etc-nsswitch-conf/m-p/2622156#M38962</link>
      <description>Thanks Darrel - I temporarily added the obsolete name and it works.&lt;BR /&gt;&lt;BR /&gt;Thanks Bill - If you want to reply I'll give you the rest of your points to make it an even 10.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Nov 2001 16:20:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-and-etc-nsswitch-conf/m-p/2622156#M38962</guid>
      <dc:creator>Elliott Moskowitz</dc:creator>
      <dc:date>2001-11-29T16:20:43Z</dc:date>
    </item>
  </channel>
</rss>

