Hey Saeed, The user that apache is running as is defined in your httpd.conf or apache2.conf file. This file is located in /etc/apache2.
Usually the user is called www-data, apache, or web. This user does not have root privileges, and should NOT have root privileges. On Jan 10, 2008 7:08 PM, Saeed Al Mullah <[EMAIL PROTECTED]> wrote: > > Hi all , and Kol 3am wa antom bekhair , and happy new year . > i have a couple of questions about PHP and linux . > i want to add users ( linux users ) by web application (PHP) > i know that i can run linux command by calling ( exec() function ). > as we know to add user in Linux u must be a root or by using sudo > command ....right ha ? > my question is ... the PHP and apache which user are running as ? > do i have the same privileges of root user ? > i hope u can understand me . > > -- > Saeed Mullah uthman > Mob: +966 56 7849842 > > > > -- Al-Faisal El-Dajani Phone: +962-7-79737050 P.O Box: 140056 11814 Amman, Jordan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Jordan PHP Users Group" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/JoPHP http://Jolug.org/ -~----------~----~----~----~------~----~------~--~---
