New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Need some ideas ..
Hey Guys,
I was working on a new version of ServPHP (http://servphp.org)
I've got a few things done, well very very few things done,
http://93.104.215.18/servphp2012/beta/
I needed some ideas on what to add to it..
Thanks !
Comments
nice one!
doing that leads to you having to either run PHP as root or having to use a setuid app. setuid isn't completely terrible if you sanitize all of the values you pass into it, but you can also end up with a fully rooted box if you're sloppy.
Francisco
Just use sudo and give it only access to one specific shellscript for restarting app X
Of course it would be an option to turn on/off in the config and any sane admin would password protect something like that (possibly another option to add to the config).
Thanks for the suggestions guys, I'll start coding it up