tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Fabrizzio da Rosa Batista <fabrizzio () prodec ! com ! br> (by way of Postmaster <postm
To: tru64-unix-managers
Subject: Copying a file to /etc/passwd
Date: Fri, 11 Oct 1996 11:23:47 +0000	[thread overview]
Message-ID: <96076340321521.tru64-unix-managers.marc@archive.invalid> (raw)

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

             reply	other threads:[~1996-10-11 11:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-11 11:23 Fabrizzio da Rosa Batista [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-10-10 17:07 Copying a file to /etc/passwd Fabrizzio da Rosa Batista
read-only archive

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