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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help me Obi-Wan Kenobi, Your my only hope...

Status
Not open for further replies.

shaneras

MIS
Mar 29, 2001
13
0
0
US
I know the experts here have an answer to this! I have searched and searched to no avail:

We install the Apache files for our users as part of our install. We then install and start the service for them using a batch file.
c:\apache2\bin\apache.exe -k install
c:\apache2\bin\apache.exe -k start

The problem is it crashes everytime because by default it sets the Log On As properties in Services to "Local System account". We need it to be set to the currently logged in user, if they type in c:\apache2\bin\apache.exe with no other switches the program works and seems to use the account rights we need.

So I guess the question is:
Is there a argument I can pass to say run as current users account, the way that simply typing in apache.exe seems to do?

Something like: c:\apache2\bin\apache.exe -k start -?run as current user?

THANKS IF YOU READ ALL THAT!
Shane

 
Addition to above:

This problem is with Apache 2.0.48, my test machine is XP Pro.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top