From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,d56c8ebe0a61ef6b X-Google-Attributes: gidf8c9b,public X-Google-Thread: 1020c6,d56c8ebe0a61ef6b X-Google-Attributes: gid1020c6,public X-Google-Thread: fa528,da73593711be4e20 X-Google-Attributes: gidfa528,public From: klgthree@spam.cornell.edu () Subject: Re: .rhosts & rsh on digital unix Date: 2000/06/15 Message-ID: <8iafbc$94e$1@news01.cit.cornell.edu>#1/1 X-Deja-AN: 634842618 Sender: verified_for_usenet@cornell.edu (klg3 on humerus.mae.cornell.edu) References: <8i8bq0$ibi$1@news01.cit.cornell.edu> <961008775.13684.0.nnrp-06.c2deb51d@news.demon.co.uk> <8i983s$rfr$1@news01.cit.cornell.edu> <961044162.5265.0.nnrp-03.c2deb51d@news.demon.co.uk> Followup-To: comp.unix.questions,comp.unix.admin,comp.unix.tru64 X-Complaints-To: usenet@news01.cit.cornell.edu X-Trace: news01.cit.cornell.edu 961069228 9358 128.84.137.20 (15 Jun 2000 11:40:28 GMT) Organization: CU-HSS Program in Biomechanical Engineering NNTP-Posting-Date: 15 Jun 2000 11:40:28 GMT Newsgroups: comp.unix.questions,comp.unix.admin,comp.unix.tru64 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...)