Posted on 2006-05-09
Last Modified: 2010-03-04
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
Question by:perlperl

    Author Comment

    any comments???
    LVL 10

    Expert Comment

    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.

    Author Comment

    it is "Log On As" Local System........

    I don't see "User Name"
    View > Select Columns... and check the box next to "User Name".

    Author Comment

    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
    LVL 27

    Accepted Solution

    Read here:
    section: User Account for Apache Service to Run As (NT/2000)
    then run your apache as SYSTEM user.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
    Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now