From: Fabrizzio da Rosa Batista <fabrizzio () prodec ! com ! br>
To: tru64-unix-managers
Subject: Copying a file to /etc/passwd
Date: Thu, 10 Oct 1996 17:07:51 +0000 [thread overview]
Message-ID: <96076340321468.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
----------------------------------
next reply other threads:[~1996-10-10 17:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-10-10 17:07 Fabrizzio da Rosa Batista [this message]
-- strict thread matches above, loose matches on Subject: below --
1996-10-11 11:23 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