Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Shutdown through CGI-Script

by nobull (Friar)
on Mar 17, 2006 at 16:55 UTC ( #537500=note: print w/replies, xml ) Need Help??


in reply to Re: Shutdown through CGI-Script
in thread Shutdown through CGI-Script

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.

Replies are listed 'Best First'.
Re^3: Shutdown through CGI-Script
by pedxing (Initiate) on Mar 17, 2006 at 21:24 UTC
    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
Node Status?
node history
Node Type: note [id://537500]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2021-04-12 18:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?