Re: Running a script in the system account

2006-03-20 Thread Jim Hill
Paul Sobey wrote: > Jim Hill wrote: > > > Instead of running all day with a cmd shell with system account > > privileges, I think it would be safer if only the scripts which > > need such privileges are able to obtain them at runtime > > Have you considered psexec (http://www.sysinternals.com) -

Re: Running a script in the system account

2006-03-20 Thread Jim Hill
mark pryor wrote: > Foo Ji-Haw <[EMAIL PROTECTED]> wrote: > > Jim Hill wrote: > > > mark pryor wrote: > > > > > > > You can use the WinXP schtasks utility to run a script > > > > in the SYSTEM account. > > > > > I can't, I'm afraid. I'm running win2k with no plans to change. > > > > There is a Per

Re: Running a script in the system account

2006-03-20 Thread Jim Hill
$Bill Luebkert in <[EMAIL PROTECTED]>: > Jim Hill wrote: > > mark pryor wrote: > > > Jim Hill <[EMAIL PROTECTED]> wrote: > > > > > > > [...] is there a better, safer way > > > > of gaining system account status within a perl script? > > > > > > You can use the WinXP schtasks utility to run a script

RE: Running a script in the system account

2006-03-20 Thread Paul Sobey
> Instead of running all day with a cmd shell with system account > privileges, I think it would be safer if only the scripts which > need such privileges are able to obtain them at runtime for > themselves. > > Unfortunately, I have no idea how to go about that. Have you considered psexec (http

Re: Running a script in the system account

2006-03-20 Thread mark pryor
Foo Ji-Haw <[EMAIL PROTECTED]> wrote: >> You can use the WinXP schtasks utility to run a script>> in the SYSTEM account.>> >> I can't, I'm afraid. I'm running win2k with no plans to change.> There is a Perl library that can automate the Windows scheduler, for both 2000 and 2003.hello, http:/

Re: Running a script in the system account

2006-03-19 Thread Foo Ji-Haw
You can use the WinXP schtasks utility to run a script in the SYSTEM account. I can't, I'm afraid. I'm running win2k with no plans to change. There is a Perl library that can automate the Windows scheduler, for both 2000 and 2003. ___ Perl

Re: Running a script in the system account

2006-03-19 Thread $Bill Luebkert
Jim Hill wrote: > mark pryor in > <[EMAIL PROTECTED]>: > >>--- Jim Hill <[EMAIL PROTECTED]> wrote: >> >>>[...] is there a better, safer way >>>of gaining system account status within a perl script? > > Thanks for the response, Mark. > >>You can use the WinXP schtasks utility to run a script >>i

Re: Running a script in the system account

2006-03-18 Thread Jim Hill
mark pryor in <[EMAIL PROTECTED]>: > --- Jim Hill <[EMAIL PROTECTED]> wrote: > > > [...] is there a better, safer way > > of gaining system account status within a perl script? Thanks for the response, Mark. > You can use the WinXP schtasks utility to run a script > in the SYSTEM account. I can

Re: Running a script in the system account

2006-03-18 Thread mark pryor
--- Jim Hill <[EMAIL PROTECTED]> wrote: > Hi all > > My mta, Mailtraq , > contains a custom > active-x control which can be accessed only when it > is running as > an application, not as a service. If Mailtraq is > started as a > service, its normal mode, the active-x

Running a script in the system account

2006-03-18 Thread Jim Hill
Hi all My mta, Mailtraq , contains a custom active-x control which can be accessed only when it is running as an application, not as a service. If Mailtraq is started as a service, its normal mode, the active-x control can't be instanced in perl or javascript ... | test.