Re: CGI can't spawn process under IIS6

From: Michael (soolkin_at_icentrix.com)
Date: 08/03/04


Date: 3 Aug 2004 07:24:42 -0700

Paul Lynch <paul.lynch@nospam.com> wrote in message news:<ivlug0l2s8lbj22fvuvvm1o4qsi44hf6t5@4ax.com>...
> On 2 Aug 2004 13:54:28 -0700, soolkin@icentrix.com (Michael) wrote:
>
> >Hello gurus,
> >
 deleted
> >Thank you
> >Michael
>
> Michael,
>
> This behaviour is by default in IIS6 as part of the 'locked down' mode
> of installation. Its good practice really, you wouldn't actually want
> non-privileged users to have access to programs in the system root
> directory would you ?
>
> If you do then you have to explicitly grant the permissions to the
> account in question.
>
> PRB: IIS 6.0: CGI Code That Calls External Applications May Fail
> http://support.microsoft.com/?id=311481
>
>
> Regards,
>
> Paul Lynch
> MCSE

Thanks a lot Paul,

I've learned it yesterday, that I've got to change the permissions on
cmd.exe...
I don't like doing it, but what is the alternative? I need to run some
executables from within a page. Right now it's email sending exe,
later more and more...
I was exploring possibility of prepending PATH environment variable
for IUSR_ with some hidden location where I could store my copies of
executables and cmd.exe with permissions granted... Than I wouldn't
need to touch anything in system32. No luck so far...

Thanks again,

Michael Soolkin



Relevant Pages