Nick Wilson wrote:
That makes a lot of sense. I wasnt aware sudoers could be used for individual tasks. im not having much luck with it, I suspect it's cos what apache really needs permission to do is to 'sudo -u nick' right?
Is it important that the transfer happens immediately? If not then a better solution is to drop the images in a folder that is then transferred by a script cron'd by the user that has everything required to do the scp.
To be frank, anything is better than giving the user that Apache runs as any more permissions than you have to.
-Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php