[EMAIL PROTECTED] (Randal L. Schwartz) wrote:
>>>>>> "Jim" == Jim Smith <[EMAIL PROTECTED]> writes:
>
>Jim> Basically, mod_perl can run scripts in the same manner as any other
>Jim> unix program.
>
>Maybe we're getting hung up on details, but "mod_perl" is not a "unix
>program".  It's a module for Apache.  Therefore, "in the same manner"
>is no longer applicable.
>
>mod_cgi forks to run processes.
>
>mod_perl doesn't fork.
>
>mod_perl can run Perl code via the embedded Perl interpreter, and this
>interpreter can cause a fork.  But mod_perl doesn't inherently fork at
>all.
>
>And the distinction is important, especially in the context of
>this discussion (setuid with "mod_perl").

And the sky isn't blue, but the results are the same.

mod_perl can't run scripts.

Scripts can be run from mod_perl.

More than that, set-uid scripts can be run from mod_perl and offer
one of the better ways of doing things that require root privileges.
-- 
James Smith <[EMAIL PROTECTED]>, 979-862-3725
Texas A&M CIS Operating Systems Group, Unix

Reply via email to