SUMMARY: rcp not possible

From: Andreas.Stoll@deejai.mch.sni.de
Date: Wed Mar 01 1995 - 19:59:02 CST


Dear Sun-Managers,

Thank You very much for your responses to the question:

> I installed Solaris 2.4 and all the patches on the system cd. And
> now I can not rcp to a Solaris 2.3 system. I checked
> .rhosts and /etc/default/login for CONSOLE, but I only get:
>
> >must be attached to a terminal for the "am I" option
>

Id did not realize the relation between r-commands and logins!

The answer is:

Obviously you have a "who am i" in your shell startup script
(.cshrc/.bashrc or whatever).
Execute this command only when you are attached to a terminal
for sh/bash:

"if [ -t ] then ...; who am i; ... fi"

for csh:
if ($?prompt) then
   who am i ......
endif

Thanks to:

mk@baerlap.north.de
ramey@csc.ti.com
gmp@adc.com
grobi@uni-paderborn.de
casper@fwi.uva.nl
pell@lysator.liu.se
peter@essex.ac.uk
bspence.sparc5b.devtech.com
heggli@elsun.ee.htl-bw.ch



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:17 CDT