Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 24th February 2010
mehaj mehaj is offline
Port Guard
Join Date: Feb 2010
Posts: 17
Default Apache

hi all,
I'm calling perl script from php code;some commands in the script need root user to be executed but i’m 'www' user.
For having root privilege i’ve modify the sudoers file ( incomment the line %wheel ALL=(ALL) NOPASSWD:ALL) and i’ve added the user 'www' to the group ‘wheel’
and next i've called the command but without success
PHP Code:
 exec("sudo perl /var/www/htdocs/msg.pl $tel $message "); 
Please, what am I doing wrong or what Have I left undone.
thank you in advance
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache 2.2.14 and PHP mgreen NetBSD Package System (pkgsrc) 0 27th January 2010 11:06 AM
PHP 5.2.6 and Apache 1.3 dialeight OpenBSD Packages and Ports 1 15th June 2009 03:04 AM
Upgrade Apache 1.3 mod_ssl to Apache 2.2 beandip FreeBSD Ports and Packages 11 26th March 2009 09:12 PM
Apache & PHP themaster FreeBSD General 2 14th June 2008 05:49 PM
Apache SSL mike171562 FreeBSD General 0 5th May 2008 09:41 PM

All times are GMT. The time now is 11:14 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick