system("rcp $workdir/installP.pl $remhost:installP.pl");
 says permission denied 

 i am not  much familier with rcp 

 i have tried several combination such as applying "  root@ "  before $workdir 
 etc sometimes it says permission denied or else it says unknown host 

 machine on which i am writing script , i am a user not root 
 at many places scripts assume root so i put " -l root" with rexec or remsh 
 not know about rcp - 
 

 system("rcp $workdir/installP.pl $remhost:installP.pl");

" $remhost root " entry is there in .rhosts 
 see if anyone can tell me the possible causes.

 Regards 
 Pradeep

Reply via email to