tim tom <mailto:[EMAIL PROTECTED]> scribbled; > > Dear Marek, > Where do find that? I am no C programmer. > > -- > tim > > --- Marek Kilimajer <[EMAIL PROTECTED]> wrote: >> It's a shell script, and your shell drops root privileges. Use a >> shell that doesn't or use a C-wraper. >>
Make yourfile.c and put this in: main(argc,argv) int argc; char **argv; { execv("/your/program/here", argv); } then cc -o yourfile yourfile.c chown root.root yourfile chmod 4755 yourfile this will make it rwsr-xr-x -jesse -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php