Re: Server permission problems and SchAgent

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: tlviewer (tlviewerSHRUB_at_yahoo.CHENEY.com)
Date: 08/16/04


Date: Mon, 16 Aug 2004 06:43:28 -0700


"tlviewer" <tlviewerSHRUB@yahoo.CHENEY.com> wrote in message news:#5cr0Z5gEHA.636@TK2MSFTNGP12.phx.gbl...

"name" <nospam@user.com> wrote in message news:e3KJOL3gEHA.2856@TK2MSFTNGP10.phx.gbl...
> Amazing is your setting.
>
> windows, apache, cgi, scheduler, perl.
>
> ===========
>
> Looked at you .zip
>
> 3 of 4 files agree.
>
> --------------
>
> nr. 4 is the .job and binary as of windows.
>
> Sorry

I included the .JOB file so that you can see
how the Pipe client (PLPipe.pl) is "run" from the
Task Scheduler. i.e.,

    perl PLPipe.pl \\RemoteServer\MyXLanFile

the TestSchAgent.pl is the Main script which
will read via the Pipe. It can be running under
limited permission (i.e. SYSTEM) and still get
the file read from across the network.

The trick is that the Administrator has to own
PLPipe.pl and setup the PLPipe.job. Only the
commandline parameters to PLPipe.pl are modified by
TestSchAgent.pl via SchAgent.

I posted this to the VBScript/WSH groups so that
the Admins who use a lot of ASP to write utilities
can see how SchAgent can be used to workaround
IIS permissions.

--
tlviewer
    
> 
> 
> 
> "tlviewer" <tlviewerSHRUB@yahoo.CHENEY.com> wrote in message
> news:%23jU%232UegEHA.2908@TK2MSFTNGP10.phx.gbl...
> Hi All,
> 
> Using Win2k sp3
> Perl 5.8.1
> Apache2
> 
> I was using a CGI script in an Apache2/Win2k
> network to browse files and filetime info
> on the server and across the network. 
> 
> Here's a simple Perl demo
> http://4.11.211.97/PLPipe.zip
> 
> regards,
> tlviewer
> 
> 
> 
> 
>


Relevant Pages