<?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: remshd:  Login incorrect in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3853506#M777601</link>
    <description>Hi Doug:&lt;BR /&gt;&lt;BR /&gt;Thanks for the input.&lt;BR /&gt;who -R returns the following on atlas1 after I telnet in from medusa:&lt;BR /&gt;# who -R&lt;BR /&gt;root       console      Aug 22 09:22  (atlas1)&lt;BR /&gt;root       pts/ta       Aug 29 07:58  (hp725)&lt;BR /&gt;brewsted   pts/tb       Aug 30 10:51  (medusa.gabrobins)&lt;BR /&gt;root       pts/tc       Aug 29 08:23  (hp725)&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;Note the brewsted line with (medusa.gabrobins).  I am expecting this to be simply medusa (like the (hp725) lines).&lt;BR /&gt;How would I be able to get my telnet session to resolve to 'medusa'?&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
    <pubDate>Wed, 30 Aug 2006 12:26:49 GMT</pubDate>
    <dc:creator>David L Brewster</dc:creator>
    <dc:date>2006-08-30T12:26:49Z</dc:date>
    <item>
      <title>remshd:  Login incorrect</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3853500#M777595</link>
      <description>Something very unusual is happening to me.&lt;BR /&gt;My remsh command works every other time to a particular server.&lt;BR /&gt;We have 13 servers in all.  remsh works consistently between all servers except these two 'medusa' and 'atlas1'.&lt;BR /&gt;When on medusa and remsh to atlas1, it works every other time.  &lt;BR /&gt;Example:&lt;BR /&gt;$ hostname&lt;BR /&gt;medusa&lt;BR /&gt;$ date&lt;BR /&gt;Wed Aug 30 10:54:04 EDT 2006&lt;BR /&gt;$ remsh atlas1 pwd&lt;BR /&gt;remshd: Login incorrect.&lt;BR /&gt;$ date&lt;BR /&gt;Wed Aug 30 10:54:11 EDT 2006&lt;BR /&gt;$ remsh atlas1 pwd&lt;BR /&gt;/users/tech/brewsted&lt;BR /&gt;$ date&lt;BR /&gt;Wed Aug 30 10:54:16 EDT 2006&lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;Always works from atlas1 to medusa.&lt;BR /&gt;Only from medusa to atlas1 do I see this behavior.  Confirmed setup of .rhosts and /etc/hosts.equiv and /etc/hosts.&lt;BR /&gt;Don't know why this works, then doesn't work, then works, then doesn't work, etc.&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Wed, 30 Aug 2006 10:11:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3853500#M777595</guid>
      <dc:creator>David L Brewster</dc:creator>
      <dc:date>2006-08-30T10:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: remshd:  Login incorrect</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3853501#M777596</link>
      <description>do you see any errors in syslog.log? check it out.</description>
      <pubDate>Wed, 30 Aug 2006 10:28:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3853501#M777596</guid>
      <dc:creator>IT_2007</dc:creator>
      <dc:date>2006-08-30T10:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: remshd:  Login incorrect</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3853502#M777597</link>
      <description>Nothing appears in syslog.log</description>
      <pubDate>Wed, 30 Aug 2006 10:32:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3853502#M777597</guid>
      <dc:creator>David L Brewster</dc:creator>
      <dc:date>2006-08-30T10:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: remshd:  Login incorrect</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3853503#M777598</link>
      <description>Dave,&lt;BR /&gt;are you sure your address is being resolved correctly? How are you resolving your return address (DNS ot /etc/hosts). If multiple DNS, are your servers correctly specified?</description>
      <pubDate>Wed, 30 Aug 2006 10:35:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3853503#M777598</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-08-30T10:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: remshd:  Login incorrect</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3853504#M777599</link>
      <description>Very likely due to DNS in the machine with the .rhosts file. The rules are:&lt;BR /&gt; &lt;BR /&gt;1. .rhosts must be 600 permission or it silently doesn't work&lt;BR /&gt; &lt;BR /&gt;2. The remote computer entries in .rhosts must be resolvable with nslookup. Take each name (or IP address) and run it through nslookup.&lt;BR /&gt; &lt;BR /&gt;3. The incoming client must have a username that matches the same username in the local server. The UID for this user does not have to match the client's UID but the username must match. If these are NIS machines, that is also a source of username problems.&lt;BR /&gt; &lt;BR /&gt;Because it is intermittant, it is likely due to a DNS problem but that will take a long time to figure out. To bypass the problem, make sure you have this in /etc/nsswitch.conf:&lt;BR /&gt;  &lt;BR /&gt;hosts:        files [NOTFOUND=continue TRYAGAIN=continue] dns &lt;BR /&gt; &lt;BR /&gt;Then put the name and IP address of medusa in /etc/hosts on the atlas1 system.</description>
      <pubDate>Wed, 30 Aug 2006 10:35:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3853504#M777599</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-08-30T10:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: remshd:  Login incorrect</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3853505#M777600</link>
      <description>Hey;&lt;BR /&gt;&lt;BR /&gt;I'd be remiss if I didn't say that the UNIX r commands are a bad idea from the get go.  Use ssh.  Secure shell with public key authentication gives you everything you have through the UNIX r commands + X11 tunneling + encrypted pipes t/f the remote hosts.&lt;BR /&gt;&lt;BR /&gt;That being said, and in addition to B.Hassel's input, my first step to troubleshooting rlogin problems is to telnet from the problem host to server (medusa -&amp;gt; atlas1 in this case.&lt;BR /&gt;&lt;BR /&gt;When you're logged in, &lt;BR /&gt;&lt;BR /&gt;tty  # not the tty number&lt;BR /&gt;who -R | grep ${tty}&lt;BR /&gt;&lt;BR /&gt;The address that the  system sees you coming from will be the last column.  Ensure that's a host name and that it's the one in the ~/.rhosts.&lt;BR /&gt;&lt;BR /&gt;HTH;&lt;BR /&gt;&lt;BR /&gt;Doug</description>
      <pubDate>Wed, 30 Aug 2006 11:03:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3853505#M777600</guid>
      <dc:creator>Doug O'Leary</dc:creator>
      <dc:date>2006-08-30T11:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: remshd:  Login incorrect</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3853506#M777601</link>
      <description>Hi Doug:&lt;BR /&gt;&lt;BR /&gt;Thanks for the input.&lt;BR /&gt;who -R returns the following on atlas1 after I telnet in from medusa:&lt;BR /&gt;# who -R&lt;BR /&gt;root       console      Aug 22 09:22  (atlas1)&lt;BR /&gt;root       pts/ta       Aug 29 07:58  (hp725)&lt;BR /&gt;brewsted   pts/tb       Aug 30 10:51  (medusa.gabrobins)&lt;BR /&gt;root       pts/tc       Aug 29 08:23  (hp725)&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;Note the brewsted line with (medusa.gabrobins).  I am expecting this to be simply medusa (like the (hp725) lines).&lt;BR /&gt;How would I be able to get my telnet session to resolve to 'medusa'?&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Wed, 30 Aug 2006 12:26:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3853506#M777601</guid>
      <dc:creator>David L Brewster</dc:creator>
      <dc:date>2006-08-30T12:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: remshd:  Login incorrect</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3853507#M777602</link>
      <description>check your /etc/hosts file&lt;BR /&gt;and also nslookup &lt;IP address=""&gt; to see if it returns properly.&lt;/IP&gt;</description>
      <pubDate>Wed, 30 Aug 2006 12:29:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3853507#M777602</guid>
      <dc:creator>IT_2007</dc:creator>
      <dc:date>2006-08-30T12:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: remshd:  Login incorrect</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3853508#M777603</link>
      <description>Hi Srini:&lt;BR /&gt;Thanks for the input.&lt;BR /&gt;Here is my output:&lt;BR /&gt;# hostname&lt;BR /&gt;atlas1&lt;BR /&gt;# nslookup medusa&lt;BR /&gt;Using /etc/hosts on:  atlas1&lt;BR /&gt;&lt;BR /&gt;looking up FILES&lt;BR /&gt;Name:    medusa&lt;BR /&gt;Address:  199.231.8.1&lt;BR /&gt;Aliases:  medusa.gabrobins.com&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Aug 2006 12:32:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3853508#M777603</guid>
      <dc:creator>David L Brewster</dc:creator>
      <dc:date>2006-08-30T12:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: remshd:  Login incorrect</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3853509#M777604</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It looks like you have either problem with direct-reverse name resolution or duplicate IP for one of the servers.&lt;BR /&gt;Run 5-6 times&lt;BR /&gt;nslookup IP-medusa from atlas&lt;BR /&gt;and&lt;BR /&gt;mslookup IP-atlas from medusa in order to check 1-st suggestion and ping to IP of a server when it's disconnected from the network&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Wed, 30 Aug 2006 13:46:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3853509#M777604</guid>
      <dc:creator>Victor Fridyev</dc:creator>
      <dc:date>2006-08-30T13:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: remshd:  Login incorrect</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3853510#M777605</link>
      <description>Any chance these two that don't work are 11.23 and the others are 11.something other?&lt;BR /&gt;&lt;BR /&gt;I noticed 11.23 seems to resolve names differently.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Aug 2006 14:15:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3853510#M777605</guid>
      <dc:creator>Dave Hutton</dc:creator>
      <dc:date>2006-08-30T14:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: remshd:  Login incorrect</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3853511#M777606</link>
      <description>Hi Dave:&lt;BR /&gt;&lt;BR /&gt;Both machines 11.11.&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Wed, 30 Aug 2006 14:16:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3853511#M777606</guid>
      <dc:creator>David L Brewster</dc:creator>
      <dc:date>2006-08-30T14:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: remshd:  Login incorrect</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3853512#M777607</link>
      <description>Looks like gabrobins (domain) is being added by either:&lt;BR /&gt; &lt;BR /&gt;an alias in /etc/hosts, &lt;BR /&gt; &lt;BR /&gt;by your DNS server, &lt;BR /&gt; &lt;BR /&gt;or by the domain line in /etc/resolv.conf &lt;BR /&gt; &lt;BR /&gt;so as a workaround in .rhosts:&lt;BR /&gt; &lt;BR /&gt;medusa billh&lt;BR /&gt;medusa.gabrobins billh&lt;BR /&gt;12.34.56.78 billh&lt;BR /&gt; &lt;BR /&gt;This way, all the possible name resolution results will at least match one of the .rhosts entries.</description>
      <pubDate>Wed, 30 Aug 2006 14:59:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3853512#M777607</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-08-30T14:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: remshd:  Login incorrect</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3853513#M777608</link>
      <description>Hi Bill:&lt;BR /&gt;&lt;BR /&gt;Thanks.  This did work.&lt;BR /&gt;A good temporary fix until I find out why the hostname is resolving to this.&lt;BR /&gt;Thanks again!&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Aug 2006 15:06:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3853513#M777608</guid>
      <dc:creator>David L Brewster</dc:creator>
      <dc:date>2006-08-30T15:06:11Z</dc:date>
    </item>
  </channel>
</rss>

