]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Warn against using "nobody" for User/Group since it's bad practice.
authorJoe Orton <jorton@apache.org>
Wed, 19 Feb 2020 10:52:38 +0000 (10:52 +0000)
committerJoe Orton <jorton@apache.org>
Wed, 19 Feb 2020 10:52:38 +0000 (10:52 +0000)
Add note on supplementary groups. [skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1874187 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_unixd.xml

index 0c9dd6e930b407d5b3c340761a1cac5ca9d360bd..656f38a1ac9cae04bd0c9009097f48fb6a729967 100644 (file)
@@ -61,13 +61,16 @@ requests</description>
     </example>
 
     <p>It is recommended that you set up a new group specifically for
-    running the server. Some admins use user <code>nobody</code>,
-    but this is not always possible or desirable.</p>
+    running the server.  If the configured <directive>User</directive>
+    is a member of any supplementary groups, the process will also
+    become a member of these groups.</p>
 
     <note type="warning"><title>Security</title>
       <p>Don't set <directive>Group</directive> (or <directive
       module="mod_unixd">User</directive>) to <code>root</code> unless
-      you know exactly what you are doing, and what the dangers are.</p>
+      you know exactly what you are doing, and what the dangers are.
+      It is not recommended to use the group <code>nobody</code>,
+      which is not intended for use by long-running daemons.</p>
     </note>
 
 </usage>
@@ -106,14 +109,14 @@ requests</description>
     outside world, and similarly, the user should not be able to
     execute code that is not meant for HTTP requests. It is
     recommended that you set up a new user and group specifically for
-    running the server. Some admins use user <code>nobody</code>, but
-    this is not always desirable, since the <code>nobody</code> user
-    can have other uses on the system.</p>
+    running the server.</p>
 
     <note type="warning"><title>Security</title>
       <p>Don't set <directive>User</directive> (or <directive
       module="mod_unixd">Group</directive>) to <code>root</code> unless
-      you know exactly what you are doing, and what the dangers are.</p>
+      you know exactly what you are doing, and what the dangers are.
+      It is not recommended to use the user <code>nobody</code>,
+      which is not intended for use by long-running daemons.</p>
     </note>
 
 </usage>