Copying a file to /etc/passwd

From: by way of Postmaster <Fabrizzio>
Date: Fri, 11 Oct 1996 12:23:47 +0100

        
        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_at_prodec.com.br
fone : ( 051 ) 331.8822
----------------------------------
Received on Sat Oct 12 1996 - 09:24:34 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT