tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Copying a file to /etc/passwd
@ 1996-10-10 17:07 Fabrizzio da Rosa Batista
  0 siblings, 0 replies; 2+ messages in thread
From: Fabrizzio da Rosa Batista @ 1996-10-10 17:07 UTC (permalink / raw)
  To: tru64-unix-managers

        
        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
----------------------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Copying a file to /etc/passwd
@ 1996-10-11 11:23 Fabrizzio da Rosa Batista
  0 siblings, 0 replies; 2+ messages in thread
From: Fabrizzio da Rosa Batista @ 1996-10-11 11:23 UTC (permalink / raw)
  To: tru64-unix-managers

        
        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
----------------------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-10-11 11:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-10-10 17:07 Copying a file to /etc/passwd Fabrizzio da Rosa Batista
  -- strict thread matches above, loose matches on Subject: below --
1996-10-11 11:23 Fabrizzio da Rosa Batista

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox