<?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/3567439#M805950</link>
    <description>You need to check the .rhosts file on vwbr46 under infas' home directory. It must contain the entry specifying the hostname and username from where you are running this script. &lt;BR /&gt;&lt;BR /&gt;So, if you are on host HHHH and logged in as user UUUU, there should be an entry in &lt;BR /&gt;&lt;INFAS homedir=""&gt;/.rhosts, which matches any one of the below.&lt;BR /&gt;&lt;BR /&gt;HHHH UUUU&lt;BR /&gt;or&lt;BR /&gt;+ UUUU&lt;BR /&gt;or&lt;BR /&gt;HHHH +&lt;/INFAS&gt;</description>
    <pubDate>Tue, 21 Jun 2005 02:17:12 GMT</pubDate>
    <dc:creator>Amit Agarwal_1</dc:creator>
    <dc:date>2005-06-21T02:17:12Z</dc:date>
    <item>
      <title>remshd: Login incorrect</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3567438#M805949</link>
      <description>We have a script that runs once every hour on weekdays and nights.&lt;BR /&gt;&lt;BR /&gt;And since we have ported it to a new host in the last 4 months we had 2 or 3 incidents , that the script failed and in the log was simply a message:&lt;BR /&gt;resmshd: Login incorrect&lt;BR /&gt;&lt;BR /&gt;However at the next hour it run okay again, and&lt;BR /&gt;nothing was changed in the script.&lt;BR /&gt;And we loads of othter scripts which do remsh,&lt;BR /&gt;no incidents to date there.&lt;BR /&gt;So we are a bit puzzled, maybe one of you&lt;BR /&gt;came accross this as well?&lt;BR /&gt;&lt;BR /&gt;This is an exerpt from the script.&lt;BR /&gt;&lt;BR /&gt;#second incident: 15.06.2005&lt;BR /&gt;# added an explicit  -l username due to rare remshd: 'Login incorrect ' errors that&lt;BR /&gt;# appeared unexplicably, however it could be due to DNS resolve problem of vwbr46 so we do nslookup checkup.&lt;BR /&gt;&lt;BR /&gt;print "Starting remsh as id = `id`  on  date = `date ` \n"&lt;BR /&gt;&lt;BR /&gt;nslookup vwbr46&lt;BR /&gt;remsh vwbr46 -l infas -n $REMSCR&lt;BR /&gt;&lt;BR /&gt;Anyone ever had the error in this erratic way.&lt;BR /&gt;&lt;BR /&gt;NB: We run the script via the agent of Autosys (a product from CA ) so it is not a cronjob!.&lt;BR /&gt;NB: The $REMSCR command that we run on the remote accesses a datafile on a NFS-share.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Jun 2005 02:06:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3567438#M805949</guid>
      <dc:creator>Frank de Vries</dc:creator>
      <dc:date>2005-06-21T02:06:59Z</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/3567439#M805950</link>
      <description>You need to check the .rhosts file on vwbr46 under infas' home directory. It must contain the entry specifying the hostname and username from where you are running this script. &lt;BR /&gt;&lt;BR /&gt;So, if you are on host HHHH and logged in as user UUUU, there should be an entry in &lt;BR /&gt;&lt;INFAS homedir=""&gt;/.rhosts, which matches any one of the below.&lt;BR /&gt;&lt;BR /&gt;HHHH UUUU&lt;BR /&gt;or&lt;BR /&gt;+ UUUU&lt;BR /&gt;or&lt;BR /&gt;HHHH +&lt;/INFAS&gt;</description>
      <pubDate>Tue, 21 Jun 2005 02:17:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3567439#M805950</guid>
      <dc:creator>Amit Agarwal_1</dc:creator>
      <dc:date>2005-06-21T02:17: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/3567440#M805951</link>
      <description>the .rhosts file in $HOME of user infas&lt;BR /&gt;only has mention of hostnames.&lt;BR /&gt;&lt;BR /&gt;The fact we omitted the user could&lt;BR /&gt;give rise to the erratic behaviour ?&lt;BR /&gt;That is, 20*24 times it is successfully authenticated and once it is denied ?&lt;BR /&gt;&lt;BR /&gt;Can anyone explain ?</description>
      <pubDate>Tue, 21 Jun 2005 03:56:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3567440#M805951</guid>
      <dc:creator>Frank de Vries</dc:creator>
      <dc:date>2005-06-21T03:56:02Z</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/3567441#M805952</link>
      <description>Some times working and some time not?&lt;BR /&gt;&lt;BR /&gt;what is your system information? uname -a&lt;BR /&gt;remshd version? what /usr/lbin/remshd&lt;BR /&gt;&lt;BR /&gt;hth.</description>
      <pubDate>Tue, 21 Jun 2005 04:23:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3567441#M805952</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-06-21T04:23:42Z</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/3567442#M805953</link>
      <description>Hmm, good questions.&lt;BR /&gt;&lt;BR /&gt;Yes, it works basically every hour on weekdays, so roughly 20 days * 24, and it fails once out of that since we migrated to&lt;BR /&gt;the new node.( In the last 4 months, it&lt;BR /&gt;failed 3 times, so roughly once a month)&lt;BR /&gt;------&lt;BR /&gt;host which runs remsh and uname -a&lt;BR /&gt;[root@orasrv1:]/picnew/apps/infas/execute/sh&amp;lt;&amp;gt;&amp;gt;&amp;gt; what /usr/lbin/remshd&lt;BR /&gt;/usr/lbin/remshd:&lt;BR /&gt;         Copyright (c) 1983, 1988 The Regents of the University of California.&lt;BR /&gt;        rshd.c  5.17.1.2 (Berkeley) 2/7/89&lt;BR /&gt;        remshd.c $Revision: 1.36.214.15 $&lt;BR /&gt;        patch id : PHNE_23003&lt;BR /&gt;You have mail in /var/mail/root&lt;BR /&gt;[orasrv1:/picnew/apps/infas/execute/sh]# uname -a&lt;BR /&gt;HP-UX orasrv1 B.11.00 U 9000/800 654359382 unlimited-user license&lt;BR /&gt;----&lt;BR /&gt;host which receives remsh and uname -a&lt;BR /&gt;[vwbsrv3:/root]# what /usr/lbin/remshd&lt;BR /&gt;/usr/lbin/remshd:&lt;BR /&gt;         $Revision: vw: -RW    selectors:  'ic27d' -proj integ -- ph_ic27d_i80 'cupi80_ic27dbase_pb(08-Nov-00.&lt;BR /&gt;16:48:14)' 'BE11.11_IC27A'&lt;BR /&gt;         Wed Nov  8 18:32:19 PST 2000 $&lt;BR /&gt;         Copyright (c) 1983, 1988 The Regents of the University of California.&lt;BR /&gt;[vwbsrv3:/root]# uname -a&lt;BR /&gt;HP-UX vwbsrv3 B.11.11 U 9000/871 2000573132 unlimited-user license&lt;BR /&gt;[vwbsrv3:/root]#&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Jun 2005 05:34:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3567442#M805953</guid>
      <dc:creator>Frank de Vries</dc:creator>
      <dc:date>2005-06-21T05:34:38Z</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/3567443#M805954</link>
      <description>Hi Frank,&lt;BR /&gt;&lt;BR /&gt;I believe that you need to mention the user name or '+'. I haven't encountered rhost entry without username. &lt;BR /&gt;&lt;BR /&gt;The other issue that you have mentioned about remsh script not working once in a while. Based on the information that you have provided, and moreover you say that there is no change in any script or rhost file, I would see it as a one-off case. However, would suggest you to have a deeper look next time it fails. Try to capture the .rhosts file of infas user whenever it fails. &lt;BR /&gt;&lt;BR /&gt;-amit</description>
      <pubDate>Wed, 22 Jun 2005 00:22:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3567443#M805954</guid>
      <dc:creator>Amit Agarwal_1</dc:creator>
      <dc:date>2005-06-22T00:22: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/3567444#M805955</link>
      <description>Hi Frank,&lt;BR /&gt;&lt;BR /&gt;Is it possible to replace the hostname with the IP address, just to resolve the issue.&lt;BR /&gt;&lt;BR /&gt;Cheers !!!&lt;BR /&gt;eknath</description>
      <pubDate>Wed, 22 Jun 2005 04:53:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3567444#M805955</guid>
      <dc:creator>Eknath</dc:creator>
      <dc:date>2005-06-22T04:53:41Z</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/3567445#M805956</link>
      <description>By any chance, the DNS server were down when you noticed the remsh script failure? &lt;BR /&gt;&lt;BR /&gt;It is possible that access was denied because host name could not be resolved successfully.&lt;BR /&gt;&lt;BR /&gt;-amit</description>
      <pubDate>Wed, 22 Jun 2005 05:57:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3567445#M805956</guid>
      <dc:creator>Amit Agarwal_1</dc:creator>
      <dc:date>2005-06-22T05:57:01Z</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/3567446#M805957</link>
      <description>sorry for the late reply, and allocating&lt;BR /&gt;some points.&lt;BR /&gt;&lt;BR /&gt;In fact is is fully working now without incident for months , and it seems that a explicit username seemed to have solved it. &lt;BR /&gt;(Still don't get it why, but heck)&lt;BR /&gt;&lt;BR /&gt;The dns was definitely available.&lt;BR /&gt;So thanks for all your input&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Oct 2005 02:32:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remshd-login-incorrect/m-p/3567446#M805957</guid>
      <dc:creator>Frank de Vries</dc:creator>
      <dc:date>2005-10-27T02:32:33Z</dc:date>
    </item>
  </channel>
</rss>

