NYCPHP Meetup

NYPHP.org

[nycphp-talk] Re: Safely running root commands

Faber Fedor faber at linuxnj.com
Sun Feb 27 23:50:19 EST 2005


On 27/02/05 23:21 -0500, brian at vermonster.com wrote:
> Quoting csnyder <chsnyder at gmail.com>:
> >
> > 2) you write a daemon using PHP that runs as root, and listens to a
> > some port or file for a "go" command, runs the commands, and then
> > returns the results
> >
> 
> This worked really well for me.  I recently used this approach (although the
> daemon-portion was written in Perl) and found you can add a nice security
> boundary between the PHP script and the system.

Care to share? (Hints, code, links, advice, etc. ...) 

-- 
 
Regards,
 
Faber                     

Linux New Jersey: Open Source Solutions for New Jersey
http://www.linuxnj.com






More information about the talk mailing list