Re: Getting root privs
| From: | Shawn McKenzie | Date: | Sat, 01 May 2010 19:12:16 +0000 |
| Subject: | Re: Getting root privs | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-304820@lists.php.net to get a copy of this message | ||
On 04/30/2010 09:53 AM, Nilesh Govindarajan wrote:
> That was what my basic idea about implementing it, but just put up a
> discussion here to see if there is really any other method except sudo-
> and there is that cron one as suggested by Jim Lucas.
>
Use the sudoers file to allow your apache user to run specific commands
with optional wildcard parameters:
http://linuxmanpages.com/man5/sudoers.5.php
--
Thanks!
-Shawn
http://www.spidean.com