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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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 [EMAIL PROTECTED]",$var)

the following appears: "unable to set uid"

note that:
The appache2 web server runs as "vpopmail" user
vuserinfo: used to return details about [EMAIL PROTECTED]
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

Reply via email to