mod_unixd.xml revision f7d600d3ca2f87f0c6240949ce652564ac28725b
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw<!DOCTYPE modulesynopsis SYSTEM "/style/modulesynopsis.dtd">
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw<?xml-stylesheet type="text/xsl" href="/style/manual.en.xsl"?>
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw<!-- $LastChangedRevision$ -->
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw Licensed to the Apache Software Foundation (ASF) under one or more
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw contributor license agreements. See the NOTICE file distributed with
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw this work for additional information regarding copyright ownership.
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw The ASF licenses this file to You under the Apache License, Version 2.0
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw (the "License"); you may not use this file except in compliance with
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw the License. You may obtain a copy of the License at
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw Unless required by applicable law or agreed to in writing, software
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw distributed under the License is distributed on an "AS IS" BASIS,
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw See the License for the specific language governing permissions and
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw limitations under the License.
c586600796766c83eb9485c446886fd9ed2359a9Keyur Desai<description>Basic (required) security for Unix-family platforms.</description>
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw<directivesynopsis>
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw<description>Group under which the server will answer
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwrequests</description>
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw<contextlist><context>server config</context></contextlist>
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe<compatibility>Only valid in global server config since Apache
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe2.0</compatibility>
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe <p>The <directive>Group</directive> directive sets the group under
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe which the server will answer requests. In order to use this
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe directive, the server must be run initially as <code>root</code>. If
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe you start the server as a non-root user, it will fail to change to the
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw specified group, and will instead continue to run as the group of the
c586600796766c83eb9485c446886fd9ed2359a9Keyur Desai original user. <var>Unix-group</var> is one of:</p>
c586600796766c83eb9485c446886fd9ed2359a9Keyur Desai <dt><code>#</code> followed by a group number.</dt>
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw Group www-group
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw </example>
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw <p>It is recommended that you set up a new group specifically for
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw running the server. Some admins use user <code>nobody</code>,
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw but this is not always possible or desirable.</p>
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw module="mod_unixd">User</directive>) to <code>root</code> unless
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw you know exactly what you are doing, and what the dangers are.</p>
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw<seealso><directive module="mod_privileges">VHostGroup</directive></seealso>
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw<seealso><directive module="mod_suexec">SuexecUserGroup</directive></seealso>
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw</directivesynopsis>
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw<directivesynopsis>
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw<description>The userid under which the server will answer
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwrequests</description>
7a8a68f5e3efbaec1a375c2d50bd20b566631755Julian Pullen<contextlist><context>server config</context></contextlist>
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw<compatibility>Only valid in global server config since Apache
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw2.0</compatibility>