httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "tanmaya Anand" <>
Subject [users@httpd] setuid script problem
Date Fri, 09 May 2003 11:11:54 GMT
hi all,

i have created the follwing perl script:

#!/usr/bin/perl -w

system "/usr/local/apache2/cgi-bin/public_html/";
print "content-type:text/html \n\n";
print "done";

following is the script:


$ENV{'IFS'}=''if $ENV{'IFS'} ne '';

system "service network restart";

i have set "u+x" & "u+s" permissions for the script but still the
command "service network restart" is not getting executed when i access this script via web

Following error message i printed to apache error log:
"user cannot control this device"

both the above scripts are owned by user root

can anyone help me in this????

Sign-up for your own FREE Personalized E-mail at

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message