Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 73204 invoked by uid 500); 9 May 2003 11:11:55 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 73187 invoked from network); 9 May 2003 11:11:54 -0000 Received: from 205-158-62-158.outblaze.com (HELO spf1.us.outblaze.com) (205.158.62.158) by daedalus.apache.org with SMTP; 9 May 2003 11:11:54 -0000 Received: (qmail 4772 invoked from network); 9 May 2003 11:11:13 -0000 Received: from unknown (205.158.62.68) by spf1.us.outblaze.com with QMQP; 9 May 2003 11:11:13 -0000 Received: (qmail 10310 invoked from network); 9 May 2003 11:11:55 -0000 Received: from unknown (HELO ws1-9.us4.outblaze.com) (205.158.62.37) by 205-158-62-153.outblaze.com with SMTP; 9 May 2003 11:11:55 -0000 Received: (qmail 79342 invoked by uid 1001); 9 May 2003 11:11:55 -0000 Message-ID: <20030509111155.79341.qmail@mail.com> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Received: from [210.212.144.180] by ws1-9.us4.outblaze.com with http for tanmaya@techie.com; Fri, 09 May 2003 06:11:54 -0500 From: "tanmaya Anand" To: users@httpd.apache.org Date: Fri, 09 May 2003 06:11:54 -0500 X-Originating-Ip: 210.212.144.180 X-Originating-Server: ws1-9.us4.outblaze.com X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: [users@httpd] setuid script problem hi all, i have created the follwing perl script: #!/usr/bin/perl -w system "/usr/local/apache2/cgi-bin/public_html/changenameserver.pl"; print "content-type:text/html \n\n"; print "done"; following is the changenameserver.pl script: #!/usr/bin/perl $ENV{'PATH'}="/bin:/usr/bin"; $ENV{'IFS'}=''if $ENV{'IFS'} ne ''; system "service network restart"; exit(1); i have set "u+x" & "u+s" permissions for the script changenameserver.pl. but still the command "service network restart" is not getting executed when i access this script via web browser. 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???? Regards, Tanmaya -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org