|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-08-06 15:38 UTC] 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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 11:00:01 2025 UTC |
What is the exact output you get with <?php var_dump(exec("/home/vpopmail/vuserinfo user@domain", $var)); var_dump($var); ?> ?