#38358 [Fbk->Opn]: unable to set uid
| From: | totooo_hegab at yahoo dot com | Date: | Mon, 07 Aug 2006 06:52:38 +0000 |
| Subject: | #38358 [Fbk->Opn]: unable to set uid | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-100440@lists.php.net to get a copy of this message | ||
ID: 38358
User updated by: totooo_hegab at yahoo dot com
Reported By: totooo_hegab at yahoo dot com
-Status: Feedback
+Status: Open
Bug Type: Apache2 related
PHP Version: 4.4.3
New Comment:
yes the command works will on the console
what will i do then?!!
Previous Comments:
------------------------------------------------------------------------
[2006-08-06 16:43:00] tony2001@php.net
Did you try to login as vpopmail user and run this command in console?
------------------------------------------------------------------------
[2006-08-06 15:56:55] totooo_hegab at yahoo dot com
the server runs at linux
i tried all the probabilities, so i think it is from php
------------------------------------------------------------------------
[2006-08-06 15:53:05] tony2001@php.net
What OS do you use and why do you think it's PHP issue?
------------------------------------------------------------------------
[2006-08-06 15:38:55] totooo_hegab at yahoo dot com
Description:
------------
i am trying to execute a command, i used "exec" and "system" and
functions they worked well for example exec("ls",$var) and echo
system("ls")
when i tried to execute the following command
exec("/home/vpopmail/vuserinfo user@domain",$var)
the following appears: "unable to set uid"
note that:
The appache2 web server runs as "vpopmail" user
vuserinfo: used to return details about user@domain
the permissions of the script vuserinfo is: 751
the ownership of the script vuserinfo is: vpopmail
the group of the script vuserinfo is: vchkpw
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38358&edit=1