Subject: Re: rcp in /bin
To: Scott Reynolds <scottr@plexus.com>
From: Curt Sampson <curt@portal.ca>
List: current-users
Date: 07/12/1996 08:48:02
On Fri, 12 Jul 1996, Scott Reynolds wrote:

> ... and ld.so, and libc.so.*, 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).

cjs

Curt Sampson    curt@portal.ca		Info at http://www.portal.ca/
Internet Portal Services, Inc.	
Vancouver, BC   (604) 257-9400		De gustibus, aut bene aut nihil.