Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Do you know where your variables are?
 
PerlMonks  

Re: Shutdown through CGI-Script

by idle (Friar)
on Mar 17, 2006 at 07:03 UTC ( [id://537438]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Shutdown through CGI-Script

In addition to inman reply, you can use standart win utility '%systemroot%\system32\runas' to run command with different credentials.

Replies are listed 'Best First'.
Re^2: Shutdown through CGI-Script
by nobull (Friar) on Mar 17, 2006 at 11:55 UTC
    Not that this has anything to do with Perl but I'd be very wary of using runas or psexec or any other mechanism that would allow code executing under the user ID of the web server to perform arbitrary actions as an admin user.
      both runas and psexec will allow you to execute a programme as Administrator, provided you supply the password. That being said, putting your Administrator password in a script is probably just aching for a problem.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://537438]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.