note 69706 added to function.shell-exec

From: Date: Sat, 16 Sep 2006 18:00:53 +0000
Subject: note 69706 added to function.shell-exec
Groups: php.notes 
Request: Send a blank email to php-notes+get-117245@lists.php.net to get a copy of this message
The technique mentioned by Nathan De Hert below is rather insecure -- you should never leave a password lying around in a file readable by the apache user. If you need this sort of functionality on *nix systems, have a look at the /etc/sudo file (edited with the command 'visudo'). The tag NOPASSWD allows specified commands to be run as root by another user, without needing to specify a password. It's a little extra configuration, but much more secure. ---- Server IP: 64.71.164.2 Probable Submitter: 66.215.80.158 ---- Manual Page -- http://www.php.net/manual/en/function.shell-exec.php Edit -- https://master.php.net/note/edit/69706 Del: integrated -- https://master.php.net/note/delete/69706/integrated Del: useless -- https://master.php.net/note/delete/69706/useless Del: bad code -- https://master.php.net/note/delete/69706/bad+code Del: spam -- https://master.php.net/note/delete/69706/spam Del: non-english -- https://master.php.net/note/delete/69706/non-english Del: in docs -- https://master.php.net/note/delete/69706/in+docs Del: other reasons-- https://master.php.net/note/delete/69706 Reject -- https://master.php.net/note/reject/69706 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#117245) next »