I running the following command from 'server';
I am using the command system( "rcp /home/user/[1-3]??? machine1:/location/" ); I run this command as root.
However, I cannot seem to copy the desired files.
Also, 'machine1' has file .rhosts which says 'server root';
Also, the errno is 14(EFAULT).
Can anyone help me why I'm getting this fault? Also, if I run this command at the prompt I can copy the files i.e. no problem.
Thanks in advance.