From: dct@odin.mda.uth.tmc.edu (David C. Tuttle)
Subject: Re: rsh, hosts.equiv, and .rhosts question
Date: 1995/08/28 [thread overview]
Message-ID: <dct-2808951212430001@nidhogg.mda.uth.tmc.edu> (raw)
In-Reply-To: stevew.46.001167AC@dougal.logica.co.uk
stevew@dougal.logica.co.uk (Steve Wyeth) wrote:
> engj@u.washington.edu (Jimmy Eng) writes:
>>
>> The problem is that one of the three workstations won't allow
>> rsh/rlogin to work (i.e. I get "permission denied" or a password
>> is required). So, any idea what my problem is? Are there
>> other files that control remote access besides the $USER/.rhosts
>> or /etc/hosts.equiv files?
>
> I've just seen that for myself... We had 5 machines, all with pretty
> similar configurations but one machine couldn't rsh to one of the
> others. All other combinations (including the reverse) was fine.
> In the end, the problem disappeared by removing the entry for
> the client in the server's /etc/hosts file (we're using DNS as well,
> so it made no difference - the IP address in the hosts file was
> correct, by the way).
Are the hostnames listed in their short form or their fully qualified
form? That seems to make a difference in some implementations of UNIX
(IBM's AIX comes to mind). And Digital UNIX is sensitive about the
order in which these are listed in the /etc/hosts file (list the full
name first, then the short name and any nicknames the host has). This
would help explain why removing a entry from /etc/hosts might fix
things -- if the entry was in the wrong order and rsh consulted it, it
might not work, whereas a DNS entry would return a fully qualified
hostname that works OK.
I tell people here to have two .rhosts entries for each machine, one
in the short form, one in the fully qualified form, and that seems
to satisfy our heterogeneous network's rsh needs.
(Definitions, in case you need them: the "short form" is just the
single hostname (in our case, "odin"); a "fully qualified" name is
with the network part attached, like "odin.mda.uth.tmc.edu".)
--
David C. Tuttle, Biomathematics ----> dct@odin.mda.uth.tmc.edu <----
The University of Texas M.D. Anderson Cancer Center +1 713 792 2606
Mail Stop 237, 1515 Holcombe Boulevard, Houston, TX 77030-4096 USA
Today's anagram of "David Charles Tuttle" is: HE'D LAID VAST CLUTTER
next prev parent reply other threads:[~1995-08-28 4:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-08-24 4:00 rsh, hosts.equiv, and .rhosts question Jimmy Eng
1995-08-25 4:00 ` Petra Welter
1995-08-28 4:00 ` Steve Wyeth
1995-08-28 4:00 ` David C. Tuttle [this message]
1995-08-28 4:00 ` BIND Service [Was: Re: rsh, hosts.equiv, and .rhosts question] Scott E Gilbert
1995-09-01 4:00 ` Dwayne Bailey
[not found] ` <41ta3d$ram@lectura.cs.arizona.edu>
1995-08-29 4:00 ` Andrew Gallatin
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox