smlunatick wrote:
> On May 2, 4:42 pm, Jean-Pierre Radley wrote:
>> smlunatick typed (on Fri, May 02, 2008 at 12:40:45PM -0700):
>> | On Apr 29, 5:22 am, RedGrittyBrick | wrote:
>> | > smlunatick wrote:
>>
>> | > > I need to copy files and data off a "failing" SCO OpenServer 5.0.5
>> | > > server. I have a replacement server waiting. I can not seem to be
>> | > > able to read the older DAT 8i 4/8GB DAT 2 tapes on my new IBM Gen. 5
>> | > > DAT 72 drive since the tape cartridges constantly eject from the
>> | > > unit. I have successfully created "tar" files for my small
>> | > > directories and copied them ove. However, I have a huge directory
>> | > > which will not create an "tar" or "cpio" file:
>> | >
>> | > One well-established way of moving large groups of files between
>> | > computers is to combine rcmd with tar so as to avoid creating any
>> | > intermediate files. rcmd is standard on OpenServer so if you can
>> | > temporarily set up the rsh service on the other server you can use this
>> | > approach:
>> | >
>> | > tar cf - ./bigdir | rcmd newserver (cd somewhere; tar xf -)
>> | > (from memory, you get the idea).
>> | >
>> |
>> | Tried rcmd with tar and I get "permission denied"
>> |
>> | Any other configurations needed?
>>
>> Yes.
>> Is the rcmd man page too obtuse?
>>

> On my failing SCO box, I am able to get 'rcmd' to run without any
> "piped" command. Whenever I "pipe" any command thru, I get this
> message and nowhere in the 'man' page can help me determine this cause.


I only get "Permission denied." (with a capital P) when I haven't got a
..rhosts in my user's home directory in the target server.

Try something simpler ...

>rcmd newbox hostname

newbox.example.com

>rcmd newbox tty

not a tty

>rcmd orange tr "a-z" "A-Z"

abc
def^D
ABC
DEF

>echo abc | rcmd newbox tr "a-z" "A-Z"

ABC

Exactly which commands give you problems?


--
RGB