rsh command

Dik T. Winter dik at cwi.nl
Fri Feb 15 11:08:11 AEST 1991


In article <6264 at idunno.Princeton.EDU> subbarao at phoenix.Princeton.EDU (Kartik Subbarao) writes:
 > Sometimes you need FQDNs. Try putting:
 > localhostname.localhostdomainname localloginname
 > into your .rhosts and retry.
 > 
 > Also - is the remote host in your hosts table (can it be found?)
Yes, sometimes you need the numeric representation.  A good way to find out
what you must put in your .rhosts file is to do a rlogin to the system and
look where the system thinks you are logged in from (if your system has
last that will give you the answer).  Note that on many systems presence in
or absence from an host file or a yp hosts database does not imply that the
system is able/unable to determine what name corresponds to the IP number.

(From one of my .rhosts files:
paring.cwi.nl dik
192.16.184.253 dik
these are synonyms.  They are both needed because at some times the service
that translates IP numbers to hostnames is not available.)
--
dik t. winter, cwi, amsterdam, nederland
dik at cwi.nl



More information about the Comp.unix.questions mailing list