Edit report at http://bugs.php.net/bug.php?id=27051&edit=1

 ID:               27051
 Updated by:       paj...@php.net
 Reported by:      ghoffer at globalscape dot com
 Summary:          Impersonation with FastCGI does not EXEC process as
                   impersonated user
 Status:           Closed
 Type:             Bug
 Package:          CGI related
 Operating System: Windows
 PHP Version:      5.3
 Assigned To:      pajoye

 New Comment:

Let me copy my note here as well:



Quick note here. It is necessary to give a given IUSR_* the permission

to use cmd.exe (%COMSPEC%). It is recommended not to do it as it may

introduce security issues, obviously. But if you really want to do it,

use:



cacls %COMSPEC% /E /G IUSR_xxxx:R


Previous Comments:
------------------------------------------------------------------------
[2010-03-24 22:09:25] paj...@php.net

you have >to give< the permission

------------------------------------------------------------------------
[2010-03-24 22:08:58] paj...@php.net

It works just fine and you have the permission to the IIS user to
execute the shell. See the other reports about that, I added the
explanation and how to configure it correctly there.

------------------------------------------------------------------------
[2010-03-24 21:43:39] heer2351 at zonnet dot nl

PHP 5.3.2 (cgi-fcgi) (built: Mar  3 2010 20:47:00)

FastCGI DLL Version 7.5.7693.0

Microsoft Windows Server 2003R2

IIS6



Exact same problem - PHP Warning: exec(): Unable to fork 

Changed PHP back to:

  PHP 5.2.13 (cgi-fcgi) (built: Feb 24 2010 14:37:42)



No fork problem, so it is not a configuration problem.

------------------------------------------------------------------------
[2010-02-10 01:00:00] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------
[2010-02-03 00:38:52] paj...@php.net

It works just fine here, 5.3.1 or later with II6/7. The initial 



It looks to a configuration problem to me. PLs double check it and come
back if you still experience this problem.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=27051


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=27051&edit=1

Reply via email to