Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running Shell Command

Status
Not open for further replies.

Mighty

Programmer
Feb 22, 2001
1,682
US
I am kicking off a shell command from my ASP page using Wscript.Shell object. I see from some of the posts here that it is unlikely to work.

When I look at task manager I can see that the task in question has been kicked off using NETWORK SERVICE account. I presumed that it would use the account that IIS runs under. Is there any way to control what account is used to run a shell object.

Mighty
 
I managed to get this to work by changing the identity on the application pool to an administrator account.

How much of a bad idea is that in terms of security?

Mighty
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top