Re: [users@httpd] Question about Apache Web Svr and perl scripting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/11/06, sal.talamantez@xxxxxxxxxxxxxxxxxxxxx
<sal.talamantez@xxxxxxxxxxxxxxxxxxxxx> wrote:
> Hello All,
>
> I am new to Apache web server scripting, so bear with me.  I am running
> Apache on a Windows XP machine.
>
> I have a perl script being called by the Apache web server.  The perl script
> creates a cmd script file that is called by perl to execute.  The cmd script
> runs fine except for one specific command that is failing.  The failing
> command is a copy command from a mapped Linux Samba drive to a local drive.
> The script does not seem to have to power/permissions to run this command.
>
> I looked at some of the Apache documentation regarding suexec and the power
> (or lack thereof) of cgi perl scripts.  The general explanation was to
> change the permissions for the cgi script using suexec, except that the
> instructions seem to be for a Unix server.  Can anyone tell me how to give a
> perl script enough power to copy to a mapped drive on an Apache Web Server
> in Windows?

You are correct that suexec is not the way to go on windows.  You
should be running the apache service under a user that has the
appropriate permissions.  See:
http://httpd.apache.org/docs/2.2/platform/windows.html#winsvc

Joshua.

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux