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.