rcp not possible

2007-12-25 8:54:00

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

Comments

Got something to say?

You must be logged in to post a comment.