Re: Server permission problems and SchAgent

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


Date: Mon, 16 Aug 2004 06:44:49 -0700


(correction)
"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.,

wperl.exe PLPipe.pl "//RemoteServer/RemoteFile"
    (script params should be quoted)

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

  • Re: [Way OT] perl, CGI, and sendmail
    ... >> Been experimenting with CGI, using perl. ... This is the standard format that came with the Debian install of apache ...
    (Debian-User)
  • Re: Server permission problems and SchAgent
    ... windows, apache, cgi, scheduler, perl. ... I was using a CGI script in an Apache2/Win2k ...
    (microsoft.public.scripting.vbscript)
  • Re: Server permission problems and SchAgent
    ... windows, apache, cgi, scheduler, perl. ... I was using a CGI script in an Apache2/Win2k ...
    (microsoft.public.scripting.wsh)
  • Re: Apache and Perl in Windows
    ... The cgi scripts execute, ... I am studying a spider book that uses Perl so I ... > file in apache and rename the jar files in the server directory. ...
    (comp.lang.perl.misc)
  • Re: Execute Windows program from Perl script (??)
    ... > I'll just write something to a file with perl, ... > Then the scheduler program can start the external program. ... an Apache config question, but what the hey; ... a DOS bat file with a "net use" wrapper around it; ...
    (comp.lang.perl.misc)