Apache Reference: http_core, User
User
Effective User ID for Server Processes
Syntax: User A
Example: User nobody
Since: Apache 1.0
This directive sets the user ID to uid; the server will answer requests from this ID. To use this directive, the stand-alone server must be run initially as the user ``root''. The uid argument can be either a real user name (to refer to the given user by name), or ``
#'' followed by a numerical user ID (to refer to a user by number). For security reasons, the user should have no privileges that allow him or her to access files that are not intended to be visible to the outside world. Similarly, the user should not be able to execute code that is not meant for HTTP requests.Note that, the use of this directive in <VirtualHost> requires a properly configured suEXEC wrapper. When used inside a <VirtualHost> in this manner, this directive affects only the user associated with CGIs requests. Non-CGI requests continue to be processed with the user specified in the main User directive.