From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076340321468.tru64-unix-managers.marc@archive.invalid> From: Fabrizzio da Rosa Batista Date: Thu, 10 Oct 1996 17:07:51 +0000 To: tru64-unix-managers Subject: Copying a file to /etc/passwd X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076340321468 Hy OSF-Managers, I'm using the C "system()" function to execute CP for copy a file to /etc/passwd. system("cp /tmp/FILE /etc/passwd") "this FILE have same estructure of passwd" But when I use the "system()" function nothing happen, the function return 127 ( This is a error code ). The program that use "system()" function is a CGI and your stick bit is on. Anybody have idea how make this ? Thanks in advance, ---------------------------------- Fabrizzio da Rosa Batista ProDEC Informatica - Digital Business Partner e-mail : fabrizzio@prodec.com.br fone : ( 051 ) 331.8822 ----------------------------------