Subject: Re: rcp in /bin
To: Scott Reynolds <>
From: Curt Sampson <>
List: current-users
Date: 07/12/1996 08:48:02
On Fri, 12 Jul 1996, Scott Reynolds wrote:

> ... and, and*, and whatever else it needs.  But as I've
> noted, that's unnecessary for remote tape access, at least with
> dump/restore.  I don't believe tar uses it either, but I haven't checked
> that one specifically.

Both tar and cpio need rsh; they both have nearly exactly the same
rtapelib.c file. 

(Though it seems odd that tar searches only for /usr/bin/rsh whereas
cpio searches for that and then /usr/ucb/rsh, /usr/bin/remsh,
/usr/bsd/rsh, and /usr/bin/nsh. Also, tar's rtapelib.c doesn't have
an RCS ident string.)

I should point out that using the library rcmd() functions rather
than using an external rsh is not necessarially a virtue; I've
replaced rsh with ssh on my systems so that I can use tar and cpio
via rmt securely.  Because dump and restore don't call the external
replacement, I can't use them securely (or remotely at all--I've
disabled rexecd on my systems).


Curt Sampson		Info at
Internet Portal Services, Inc.	
Vancouver, BC   (604) 257-9400		De gustibus, aut bene aut nihil.