[462] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: HOSTS.EQUIV "behavior" (Colgate)???

daemon@ATHENA.MIT.EDU (Lawrence Houston)
Tue Oct 22 18:24:42 1996

Date: Tue, 22 Oct 1996 18:01:02 -0400 (EDT)
From: Lawrence Houston <houston@boyd.geog.mcgill.ca>
To: "Michael K. Johnson" <redhat.com!johnsonm@felix.geog.mcgill.ca>
cc: redhat.com!redhat-list@felix.geog.mcgill.ca
In-Reply-To: <199610221157.HAA29955@nigel.redhat.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

On Tue, 22 Oct 1996, Michael K. Johnson wrote:

> Lawrence Houston writes:
> >The wtmp entries are correct for all hosts appearing in the HOSTS.EQUIV
> >File, problem is ONLY with those hosts NOT appearing in HOSTS.EQUIV! 
> 
> Ah, thank you very much.  I misread your mail, sorry.  I'm not sure
> how I managed to do that; you were quite clear.
> 
> I have duplicated the problem, almost.  For me, it's the *shortest*
> entry in /etc/hosts.equiv that is used.  Could you try re-arranging
> your /etc/hosts.equiv file, moving your last entry up a few entries
> and see if the same entry is still selected?

Tried quite a few re-arrangments (different lenghts & different case)
within HOSTS.EQUIV and in all cases it remained the last one which was
selected for the "false" wtmp entry! 

> The bug is now on our list.  Thanks very much for bringing it to our
> attention.
> 
> >Further testing reveals the last hostname in the HOSTS.EQUIV File is ONLY
> >being incorrectly picked up if RLOGIN is used (ie. a Telnet Session from
> >hosts NOT in HOSTS.EQUIV will infact have correct wtmp Entries)?  Were you
> >using Telnet or RLOGIN during your own tests? 
> 
> I was using rlogin; I just made a mistake and got the sense of your
> mail backwards.  telnet logins don't use hosts.equiv at all.

That probably accounts for FTP also being uneffected by this HOST.EQUIV
problem!

There was also an additional anonaly which may (or may not) be related: if
I use the FQDN in the "HOSTNAME" Entry within "/etc/sysconfig/network",
the wtmp entries for those hosts appearing in the HOSTS.EQUIV File have
wtmp entires without the Domain appended!  With just the Hostname as the
"HOSTNAME" Entry in "/etc/sysconfig/network" (Domain ONLY appearing in the
"DOMAINNAME" Entry), the wtmp entries contain the FQDN (truncated to 16
characters)!  The later case being what I have come to expect, so I have
left the "HOSTNAME" as the Hostname ONLY! 

Lawrence Houston  -  (houston@boyd.geog.mcgill.ca)


--
  PLEASE read the Red Hat FAQ, Tips, HOWTO and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-HOWTO 
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post