You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by kp...@raleigh.ibm.com on 1998/10/23 22:06:46 UTC

Re: os-windows/2303: User directive does not set userid (Windows NT)

[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]


Synopsis: User directive does not set userid (Windows NT)

State-Changed-From-To: open-closed
State-Changed-By: kparz@raleigh.ibm.com
State-Changed-When: Fri Oct 23 13:06:44 PDT 1998
State-Changed-Why:
The User directive has no affect on Win32.  The reason
for this is because the password for the userid would 
have to be stored somewhere that Apache could read.  This
poses a possible security problem.
If you want to run Apache in the context of a particular
user account, Windows NT already provides this facility
via the Services panel.  This means that you need to 
install Apache as a service.  After Apache is installed
as a service, go to the services panel (click the Services
icon in Control Panel) and click the "Startup..." button.
In that dialog, you can enter the user account under which
you want the server to run.
Code has been added to Apache to indicate that the User
directive has no affect on Win32 in the error log.