• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 256
  • Last Modified:


i have apache up and running. how do i know if it is running as 'www' or 'nobody' user....
certain things i am not able to execute using CGI but works from command level

how do i increase the privilege level of user running CGI?

apache is running on win 2000 pro
  • 3
1 Solution
perlperlAuthor Commented:
any comments???
If Apache is running as a service, you can see what user it is configured to run as by going to the Services Control Panel and looking at the column "Log On As".  Or you can right-click > Properties and look at the Log On tab.  You can change the account used to run Apache here.

Another way to check, whether it is run as a service or run from the console, is to open the Task Manager go to the Processes tab, and look for apache.exe.  To see the user it is running as, you may need to go to View > Select Columns... and check the box next to "User Name".  Also, you may need to check the box "Show Processes from All Users" at the bottom of the Processes tab.
perlperlAuthor Commented:
it is "Log On As" Local System........

I don't see "User Name"
View > Select Columns... and check the box next to "User Name".
perlperlAuthor Commented:
if i try to change the username to administrator, i can stop the apache service but can't start...says logon failure
the thing is i cannot execute "win32:ole" form cgi
it works from command prompt fine but not thru CGI
Read here: http://httpd.apache.org/docs/1.3/win_service.html
section: User Account for Apache Service to Run As (NT/2000)
then run your apache as SYSTEM user.

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now