rcp as guest

ddgg0881 at uxa.cso.uiuc.edu ddgg0881 at uxa.cso.uiuc.edu
Sat Jul 29 06:09:00 AEST 1989



In article <113700007 at uxa.cso.uiuc.edu> I write:

>
>
> I would like to be able to recursively copy directories from a
>remote machine onto my local machine. The problem is that I can
>only log onto the remote machine as guest and I would like to 
>write onto my own machine with super user authority. To use rcp,
>though, I have use the same logon on my local machine as I have on the 
>remote machine so I can only write to my own machine as guest. Does 
>anyone know of a solution to this problem?

Thanks to everyone who sent answers to this question. Given the variety
of answers I got, it seems fair to say that this is a genuinely confusing
point.  The answer is probably in the manual but rcp is one of those
things ofter missing from manuals (e.g. absent  from my manual for my
version of *ix). To add to the confusion there has been a change of
syntax in the most recent version of rcp. Of all the answers I got,
the following is the only one that seemed entirely correct:

>Say what ?  Rcp supports `user at machine:file' (or `machine.user:file' in 4.2
>based systems).  What you need to do is on the remote machine as guest, creat
>a file called `.rhosts' with `local-machine-name root', the run e.g.
>
>	rcp -rp guest at remote-machine:dir .
>
>Remember to remove the `.rhosts' file once you've done with it.
>
>Rob
>-- 
>UUCP:   ...!mcvax!ukc!warwick!cudcv	PHONE:  +44 203 523037
>JANET:  cudcv at uk.ac.warwick             ARPA:   cudcv at warwick.ac.uk
>Rob McMahon, Computing Services, Warwick University, Coventry CV4 7AL, England


Dale Gerdemann
U. of Ill, Beckman Institute
dale at tarski.cogsci.uiuc.edu



More information about the Comp.unix.questions mailing list