SETUID Apache

From: Date: Wed, 05 Jul 2000 15:16:50 +0000
Subject: SETUID Apache
Groups: php.dev 
Request: Send a blank email to php-dev+get-23588@lists.php.net to get a copy of this message
I am running PHP on Apache. Apache is running as DAEMON user. I dont want all commands executed on the system to be executed as DAEMON. I am trying to use POSIX_SETUID to actually downgrade the user to his limited privileges. I get this error. << Warning: posix_setuid(#UID) failed with 'Not owner'. Must be root in /dir/file.php3 on line # >> Does anyone know how I could successfully SETUID without having apache running as root? thanx Andre Labonte alabonte@microlegend.com

« previous php.dev (#23588) next »