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

privilege

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
0
perlperl
Asked:
perlperl
  • 3
1 Solution
 
perlperlAuthor Commented:
any comments???
0
 
sleep_furiouslyCommented:
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.
0
 
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".
0
 
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
0
 
NopiusCommented:
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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

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