From: klgthree@spam.cornell.edu ()
Subject: Re: .rhosts & rsh on digital unix
Date: 2000/06/15 [thread overview]
Message-ID: <8iafbc$94e$1@news01.cit.cornell.edu> (raw)
In-Reply-To: 961044162.5265.0.nnrp-03.c2deb51d@news.demon.co.uk
Hello again Adam,
Adam Price (adam+usenet@pappnase.demon.co.uk) wrote:
: klgthree@spam.cornell.edu wrote in message <8i983s$rfr$1@news01.cit.cornell.edu>...
: >Adam Price (adam+usenet@pappnase.demon.co.uk) wrote:
: >
: >: klgthree@spam.cornell.edu wrote in message <8i8bq0$ibi$1@news01.cit.cornell.edu>...
: >: Are you trying to do this as an ordinary user or as root?
: >
: >Ordinary user.
: OK Forget that then.
(my first reading interpreted that as "Forget trying to log in as an
ordinary user" but I quickly realized that the 'that' referred to
the potential problem of trying to rsh as root :-)
..and here we have a winner:
: >
: >: What machine name does the digital unix machine think
: >: you are coming in as?
: >
: >I don't know. I assume it knows the correct one since our other
: >systems allow access through .rhosts and all the systems use
: >the same dns.
: OK
: log in using rsh and a password, , notice the message you get
: about last login and where it was from? Log out then log back in
: and look where you just came from.
duh--I was pondering how I was going to tell what the machine "saw"
during the process (considering writing something that makes the
the same verification/naming/system calls to see what they). Why
not look _after_? Anyway, this indeed was the problem! The offending
machine couldn't reverse-resolve the number and last login came from
the IP number, not the hostname. I put the number in the .rhosts
file, and all was well! Thanks for offering the paths of investigation,
with the solution at the end of one of them. Using nslookup, I get the
correct the hostname so I have some more hunting to do to figure
out why with rsh it can't resolve the number (very likely related
to the harddrive crash of our NIS server (no slave :-) and it's
recovery/migration to another machine. [That was fun.])
: Make sure that is what gets put into the .rhosts file.
as above, that fixed it!
: Hope this helps
Indeed it has.
Thanks again for answers, ideas and solution.
Kirk
--
Note - change address if replying to this post:
klg3 AT cornell DOT edu (<-- make the obvious changes...)
prev parent reply other threads:[~2000-06-15 4:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <8i8bq0$ibi$1@news01.cit.cornell.edu>
2000-06-14 4:00 ` .rhosts & rsh on digital unix Adam Price
2000-06-15 4:00 ` klgthree
2000-06-15 4:00 ` jr
2000-06-15 4:00 ` klgthree
2000-06-15 4:00 ` Adam Price
2000-06-15 4:00 ` klgthree [this message]
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