* rsh, hosts.equiv, and .rhosts question
@ 1995-08-24 4:00 Jimmy Eng
1995-08-25 4:00 ` Petra Welter
1995-08-28 4:00 ` Steve Wyeth
0 siblings, 2 replies; 7+ messages in thread
From: Jimmy Eng @ 1995-08-24 4:00 UTC (permalink / raw)
I have a small problem here that I can't figure out. My problem
has to do with the rsh and rlogin command between three
DEC 3000-300 workstations that we have.
Each of the three workstations contain the same users account
(with the same login name), each users account has the same
.rhosts file (which contains hosts/users info for the other
two workstations) and each workstation has an /etc/hosts.equiv
file which contain hosts/users entries for the other two
workstations as well.
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?
Thanks.
- Jimmy
--
: Jimmy Eng Dept. of Molecular Biotechnology :
: Research Consultant University of Washington :
: engj@u.washington.edu Box 357730, Health Sciences K343 :
: (206)616-5012 office Seattle, WA 98195-7730 :
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: rsh, hosts.equiv, and .rhosts question
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
1 sibling, 0 replies; 7+ messages in thread
From: Petra Welter @ 1995-08-25 4:00 UTC (permalink / raw)
To: engj
Do you have the same User-Id in /etc/passwd for this user on all machines?
Some system don't compare by name but by ID.
Petra
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: rsh, hosts.equiv, and .rhosts question
1995-08-28 4:00 ` Steve Wyeth
@ 1995-08-28 4:00 ` David C. Tuttle
1995-08-28 4:00 ` BIND Service [Was: Re: rsh, hosts.equiv, and .rhosts question] Scott E Gilbert
[not found] ` <41ta3d$ram@lectura.cs.arizona.edu>
0 siblings, 2 replies; 7+ messages in thread
From: David C. Tuttle @ 1995-08-28 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: rsh, hosts.equiv, and .rhosts question
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
1 sibling, 1 reply; 7+ messages in thread
From: Steve Wyeth @ 1995-08-28 4:00 UTC (permalink / raw)
In article <41iv82$1vm@nntp5.u.washington.edu> engj@u.washington.edu (Jimmy Eng) writes:
>I have a small problem here that I can't figure out. My problem
>has to do with the rsh and rlogin command between three
>DEC 3000-300 workstations that we have.
>Each of the three workstations contain the same users account
>(with the same login name), each users account has the same
>.rhosts file (which contains hosts/users info for the other
>two workstations) and each workstation has an /etc/hosts.equiv
>file which contain hosts/users entries for the other two
>workstations as well.
>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?
>Thanks.
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).
I've no idea why it cured it - but it did. For your reference, this
was OSF/1 V3.0 - I've never seen the problem before or since.
Best Wishes,
Stevie.
^ permalink raw reply [flat|nested] 7+ messages in thread
* BIND Service [Was: Re: rsh, hosts.equiv, and .rhosts question]
1995-08-28 4:00 ` David C. Tuttle
@ 1995-08-28 4:00 ` Scott E Gilbert
1995-09-01 4:00 ` Dwayne Bailey
[not found] ` <41ta3d$ram@lectura.cs.arizona.edu>
1 sibling, 1 reply; 7+ messages in thread
From: Scott E Gilbert @ 1995-08-28 4:00 UTC (permalink / raw)
David C. Tuttle wrote:
>
>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.
>
On a similar note is anyone else having trouble getting DNS to work
correctly with just subdomain names? I have no problem when I specify the
full path, or a short name in my own subdomain, but specifying another
subdomain at arizona.edu doesn't seem to work. To make this clear:
name.subdomain.domain.edu works
name works when in the same sub domain
but
name.subdomain fails even when in the same sub domain.
For reference, I've seen this problem on two AlphaStation 200 4/100 with
version 3.2B of OSF/1 (oops I mean DEC Unix :). I've checked with other
system administartors and my /etc/resolv.conf and /etc/hosts look correct.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: BIND Service [Was: Re: rsh, hosts.equiv, and .rhosts question]
[not found] ` <41ta3d$ram@lectura.cs.arizona.edu>
@ 1995-08-29 4:00 ` Andrew Gallatin
0 siblings, 0 replies; 7+ messages in thread
From: Andrew Gallatin @ 1995-08-29 4:00 UTC (permalink / raw)
In article <41ta3d$ram@lectura.cs.arizona.edu>,
Scott E Gilbert <scott@CS.Arizona.EDU> wrote:
>
>On a similar note is anyone else having trouble getting DNS to work
>correctly with just subdomain names? I have no problem when I specify the
>full path, or a short name in my own subdomain, but specifying another
>subdomain at arizona.edu doesn't seem to work. To make this clear:
Use the keyword search in /etc/resolv.conf, rather than domain. For
example, I have replaced:
domain isds.duke.edu
with:
search isds.duke.edu duke.edu
The resolv.conf(4) man page has a more detailed description.
Drew
##############################################################################
# Andrew Gallatin, Computer Project Manager #
# Institute of Statistics and Decision Sciences #
# Box 90251, Duke University, Durham, NC 27708-0251 #
##############################################################################
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: BIND Service [Was: Re: rsh, hosts.equiv, and .rhosts question]
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
0 siblings, 0 replies; 7+ messages in thread
From: Dwayne Bailey @ 1995-09-01 4:00 UTC (permalink / raw)
In article <41ta3d$ram@lectura.CS.Arizona.EDU>, scott@CS.Arizona.EDU (Scott E Gilbert) writes:
>
> On a similar note is anyone else having trouble getting DNS to work
> correctly with just subdomain names? I have no problem when I specify the
> full path, or a short name in my own subdomain, but specifying another
> subdomain at arizona.edu doesn't seem to work. To make this clear:
>
> name.subdomain.domain.edu works
> name works when in the same sub domain
>
> but
>
> name.subdomain fails even when in the same sub domain.
>
> For reference, I've seen this problem on two AlphaStation 200 4/100 with
> version 3.2B of OSF/1 (oops I mean DEC Unix :). I've checked with other
> system administartors and my /etc/resolv.conf and /etc/hosts look correct.
>
I don't know about 3.2B, but my release notes for 3.2 specifically mention
this. Section 4.3.1.2 of version 3.2 release notes specifies that the
resolver's search list contains ONLY the default domain. Previous versions
contained parent domains. The release notes claim that this is in keeping
with RFC 1535. I haven't read this RFC, so I have to assume that this is
accurate.
You can work around this with a change in resolv.conf. Instead of having
a "domain" directive, use the "search" directive. If your old domain
line looked like:
domain a.b.c.d.e
your search line might look like
search a.b.c.d.e b.c.d.e c.d.e d.e
which would mimic the old behavior. Note that if both a search and a
domain directive are placed in resolv.conf, (or multiples of either, for
that matter) then only the LAST one has any effect.
--
Dwayne Bailey + "People think it must be fun to be a super
MIKA Systems, Livonia, MI + genius, but they don't realize how hard it is
dbailey8@ford.com + to put up with all the idiots in the world."
dwayne@mika.com + -- Calvin
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~1995-09-01 4:00 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox