Choices for root privilege

From: Date: Sat, 15 Sep 2001 05:56:48 +0000
Subject: Choices for root privilege
Groups: php.general 
Request: Send a blank email to php-general+get-67427@lists.php.net to get a copy of this message
I'm in the planning stages of a smallish app that will need to run some shell commands that generally require root privileges to run (eg: route, ifconfig, ifup). I know this is a security nightmare but I don't really have a choice, I have to provide this functionality through a web based interface. What is the accepted way of accomplishing this? I've considered assigning nobody to a privileged group, sudo, changing exec permissions (last resort). Opinions??? TIA, Brad

« previous php.general (#67427) next »