RE: [PHP] Running PHP scripts with root permissions!!!

From: Date: Wed, 16 Aug 2000 14:35:18 +0000
Subject: RE: [PHP] Running PHP scripts with root permissions!!!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-12022@lists.php.net to get a copy of this message
Sudo is a program that lets you gives users on a machine root privs to do certain task that you specify. Very nice indeed ;-) On Wed, 16 Aug 2000, Krznaric Michael wrote: > I saw the other post use sudo? What's sudo? Do you mean set UID? > > Mike > > -----Original Message----- > From: Web Admin [mailto:webadmin@morva.net] > Sent: Wednesday, August 16, 2000 10:32 AM > To: php-general@lists.php.net > Subject: [PHP] Running PHP scripts with root permissions!!! > > > Hi everybody, > Does anyone know how to run php scripts with root permissions? > For example, i want to write a php script which shows last system > messages using tail /var/log/messages. > How can I do that without chmod 777 /var/log/messages!! > That's very very URGENT!! > httpd is being run by nobody. Should I change it? The owner can't > be root in Apache (latest version). > Regards, > Ahmad Anvari > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#12022) next »