<?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: rlogin problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/rlogin-problem/m-p/2624295#M926516</link>
    <description>Hi Joanne,&lt;BR /&gt;&lt;BR /&gt;I am pretty sure you have checked your .rhosts, hosts.equiv, /etc/hosts, /etc/resolv.conf etc., etc.,&lt;BR /&gt;&lt;BR /&gt;The best way to troubleshoot is to enable inetd logging.&lt;BR /&gt;&lt;BR /&gt;#inetd -l&lt;BR /&gt;&lt;BR /&gt;This is going to start logging the commands.&lt;BR /&gt;&lt;BR /&gt;Now try to do an rlogin to this system and observe the syslog.log. You should get something like this&lt;BR /&gt;&lt;BR /&gt;Dec  3 12:18:48 hostA inetd[24273]: shell/tcp: Connection from hostB(&lt;BR /&gt;xx.xx.xx.xx) at Mon Dec  3 12:18:48 2001         &lt;BR /&gt;&lt;BR /&gt;Now check hostB to make sure it is there in .rhosts of hostA.&lt;BR /&gt;&lt;BR /&gt;Most of the times we configure aliases in /etc/hosts but mess up the order. For ex., if your /etc/hosts on hostA is like this&lt;BR /&gt;...&lt;BR /&gt;...&lt;BR /&gt;xx.xx.xx.xx alias1 hostB alias2 alias3&lt;BR /&gt;&lt;BR /&gt;You will not see any problem anywhere but if you try to rlogin from hostB, hostA will understand that it is coming from alias1 and refuse the connection as we mentioned hostA in .rhosts.&lt;BR /&gt;&lt;BR /&gt;-Sri                              &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 03 Dec 2001 21:50:47 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2001-12-03T21:50:47Z</dc:date>
    <item>
      <title>rlogin problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rlogin-problem/m-p/2624284#M926505</link>
      <description>Hi Everyone,&lt;BR /&gt;&lt;BR /&gt;For some strange reason I'm having problems with rlogin (via root) to one of our servers.  Another server can rlogin (via root), yet not another one.  I've checked /.rhosts and /etc/hosts.equiv.  They are configured correctly.  I've checked permissions of these files, deleted and recreated them, etc - but things still don't work.  I have compared them against a system that can successfully rlogin, and everything seems okay.&lt;BR /&gt;&lt;BR /&gt;What am I overlooking?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Jo</description>
      <pubDate>Mon, 03 Dec 2001 21:28:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rlogin-problem/m-p/2624284#M926505</guid>
      <dc:creator>Joanne Keegan</dc:creator>
      <dc:date>2001-12-03T21:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: rlogin problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rlogin-problem/m-p/2624285#M926506</link>
      <description>Check to make sure both hosts can resolve each other. What does your /etc/resolv.conf file look like?&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 03 Dec 2001 21:34:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rlogin-problem/m-p/2624285#M926506</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-12-03T21:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: rlogin problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rlogin-problem/m-p/2624286#M926507</link>
      <description>DNS or the hosts file may know the machine by a different name.&lt;BR /&gt;&lt;BR /&gt;In the .rhosts file be sure and have the DNS name that shows up when doing a "who -a" command.</description>
      <pubDate>Mon, 03 Dec 2001 21:34:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rlogin-problem/m-p/2624286#M926507</guid>
      <dc:creator>John Bolene</dc:creator>
      <dc:date>2001-12-03T21:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: rlogin problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rlogin-problem/m-p/2624287#M926508</link>
      <description>Hi Joanne,&lt;BR /&gt;&lt;BR /&gt;what is the error message you get when you try to "rlogin".&lt;BR /&gt;&lt;BR /&gt;Do remeber that if you are logginf in from server1 to server2 as root using rlogin server2 should have an entry in /.rhosts file as&lt;BR /&gt;&lt;BR /&gt;server1 root&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Dec 2001 21:36:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rlogin-problem/m-p/2624287#M926508</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-12-03T21:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: rlogin problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rlogin-problem/m-p/2624288#M926509</link>
      <description>"For some strange reason I'm having problems with rlogin (via root) to one of our servers. Another server can rlogin (via root), yet not another one. I've checked /.rhosts and /etc/hosts.equiv. They are configured correctly. I've checked permissions of these files, deleted and recreated them, etc - but things still don't work. I have compared them against a system that can successfully rlogin, and everything seems okay."&lt;BR /&gt;&lt;BR /&gt;Have you looked at syslog.log.  If you are logging inetd connections some valuable information will be in there. If not edit /etc/rc.config.d/netdaemons and enter "-l" after the INETD_ARGS= option.  Then restart inetd through /sbin/init.d. No inetd -c will not work for this since there was no change to the config file.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;C&lt;BR /&gt;&lt;BR /&gt;Personally I would look into secure shell for this type of stuff.&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Dec 2001 21:37:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rlogin-problem/m-p/2624288#M926509</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2001-12-03T21:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: rlogin problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rlogin-problem/m-p/2624289#M926510</link>
      <description>I want to be able to login without having to enter a password and to be able to do remsh statements (error: remshd: Login incorrect).&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Jo</description>
      <pubDate>Mon, 03 Dec 2001 21:39:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rlogin-problem/m-p/2624289#M926510</guid>
      <dc:creator>Joanne Keegan</dc:creator>
      <dc:date>2001-12-03T21:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: rlogin problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rlogin-problem/m-p/2624290#M926511</link>
      <description>Hi Joanne,&lt;BR /&gt;&lt;BR /&gt;Is /var/adm/inetd.sec denying access from the server that is failing?&lt;BR /&gt;&lt;BR /&gt;Are you being prompted for a password or is the connection refused?&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Mon, 03 Dec 2001 21:40:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rlogin-problem/m-p/2624290#M926511</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2001-12-03T21:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: rlogin problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rlogin-problem/m-p/2624291#M926512</link>
      <description>Hi Joanne,&lt;BR /&gt;&lt;BR /&gt;Do a "nslookup" on both the servers and check that the hostname and ip's are correctly resolved.&lt;BR /&gt;&lt;BR /&gt;Try, on server2&lt;BR /&gt;&lt;BR /&gt;nslookup&lt;BR /&gt;&amp;gt; server1_name&lt;BR /&gt;&amp;gt; server1_ip&lt;BR /&gt;&amp;gt; exit&lt;BR /&gt;&lt;BR /&gt;on server1&lt;BR /&gt;&lt;BR /&gt;nslookup&lt;BR /&gt;&amp;gt; server2_name&lt;BR /&gt;&amp;gt; server2_ip&lt;BR /&gt;&amp;gt; exit&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;regds&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Dec 2001 21:40:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rlogin-problem/m-p/2624291#M926512</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-12-03T21:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: rlogin problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rlogin-problem/m-p/2624292#M926513</link>
      <description>Hi Joanne,&lt;BR /&gt;&lt;BR /&gt;Here is a thread on .rhosts,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support2.external.hp.com/cki/bin/doc.pl/sid=7867a22601145be36a/screen=ckiDisplayDocument?docId=200000006377362" target="_blank"&gt;http://us-support2.external.hp.com/cki/bin/doc.pl/sid=7867a22601145be36a/screen=ckiDisplayDocument?docId=200000006377362&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Dec 2001 21:44:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rlogin-problem/m-p/2624292#M926513</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-12-03T21:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: rlogin problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rlogin-problem/m-p/2624293#M926514</link>
      <description>Either I type real slow or my Internet connection is slow.&lt;BR /&gt;&lt;BR /&gt;Name resolution is key.  I'd ensure /etc/nsswitch.conf has files before dns and make sure the hosts files are accurate.&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Mon, 03 Dec 2001 21:45:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rlogin-problem/m-p/2624293#M926514</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2001-12-03T21:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: rlogin problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rlogin-problem/m-p/2624294#M926515</link>
      <description>Try rlogin by IP address vice host id. If you are able to rlogin by IP, then verify your addresses resolve properly using nslookup. If you still cannot rlogin by IP, check your /var/adm/inetd.sec if it has an entry to permit rlogin, only the entries listed will be permitted. If the 2 servers are on 2 subnets you can verify you have network connectivity via ping command.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Mon, 03 Dec 2001 21:50:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rlogin-problem/m-p/2624294#M926515</guid>
      <dc:creator>Steve Labar</dc:creator>
      <dc:date>2001-12-03T21:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: rlogin problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rlogin-problem/m-p/2624295#M926516</link>
      <description>Hi Joanne,&lt;BR /&gt;&lt;BR /&gt;I am pretty sure you have checked your .rhosts, hosts.equiv, /etc/hosts, /etc/resolv.conf etc., etc.,&lt;BR /&gt;&lt;BR /&gt;The best way to troubleshoot is to enable inetd logging.&lt;BR /&gt;&lt;BR /&gt;#inetd -l&lt;BR /&gt;&lt;BR /&gt;This is going to start logging the commands.&lt;BR /&gt;&lt;BR /&gt;Now try to do an rlogin to this system and observe the syslog.log. You should get something like this&lt;BR /&gt;&lt;BR /&gt;Dec  3 12:18:48 hostA inetd[24273]: shell/tcp: Connection from hostB(&lt;BR /&gt;xx.xx.xx.xx) at Mon Dec  3 12:18:48 2001         &lt;BR /&gt;&lt;BR /&gt;Now check hostB to make sure it is there in .rhosts of hostA.&lt;BR /&gt;&lt;BR /&gt;Most of the times we configure aliases in /etc/hosts but mess up the order. For ex., if your /etc/hosts on hostA is like this&lt;BR /&gt;...&lt;BR /&gt;...&lt;BR /&gt;xx.xx.xx.xx alias1 hostB alias2 alias3&lt;BR /&gt;&lt;BR /&gt;You will not see any problem anywhere but if you try to rlogin from hostB, hostA will understand that it is coming from alias1 and refuse the connection as we mentioned hostA in .rhosts.&lt;BR /&gt;&lt;BR /&gt;-Sri                              &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Dec 2001 21:50:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rlogin-problem/m-p/2624295#M926516</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-12-03T21:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: rlogin problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rlogin-problem/m-p/2624296#M926517</link>
      <description>Thank-you to all that replied.  I now have things working.  Using nslookup basically was the key.  The hosts file had two entries against the ip address, each with a different host name.&lt;BR /&gt;&lt;BR /&gt;Once again, thank-you.  I thought the answer would be something simple, something I overlooked.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Jo</description>
      <pubDate>Mon, 03 Dec 2001 22:06:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rlogin-problem/m-p/2624296#M926517</guid>
      <dc:creator>Joanne Keegan</dc:creator>
      <dc:date>2001-12-03T22:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: rlogin problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rlogin-problem/m-p/2624297#M926518</link>
      <description>Have you changed the password since the last guy left? &lt;BR /&gt;&lt;BR /&gt;Share and Enjoy! Ian (aka Fred)</description>
      <pubDate>Tue, 04 Dec 2001 17:26:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rlogin-problem/m-p/2624297#M926518</guid>
      <dc:creator>Ian Dennison_1</dc:creator>
      <dc:date>2001-12-04T17:26:25Z</dc:date>
    </item>
  </channel>
</rss>

