note 82370 deleted from function.shell-exec by cmb

From: Date: Sun, 07 Jul 2019 15:27:46 +0000
Subject: note 82370 deleted from function.shell-exec by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-211519@lists.php.net to get a copy of this message
Note Submitter: Anonymous ---- In response to nathandehert and Paul Cook, rather than sudoing to execute a command, you might want to abstract the command(s) into a yet another script (php, perl, bash, whatever) and make use of the setuid bit. then just execute that script from php. of course, bear in mind the security implications of setuid.

« previous php.notes (#211519) next »