You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2020/02/19 10:52:38 UTC
svn commit: r1874187 - /httpd/httpd/trunk/docs/manual/mod/mod_unixd.xml
Author: jorton
Date: Wed Feb 19 10:52:38 2020
New Revision: 1874187
URL: http://svn.apache.org/viewvc?rev=1874187&view=rev
Log:
Warn against using "nobody" for User/Group since it's bad practice.
Add note on supplementary groups. [skip ci]
Modified:
httpd/httpd/trunk/docs/manual/mod/mod_unixd.xml
Modified: httpd/httpd/trunk/docs/manual/mod/mod_unixd.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_unixd.xml?rev=1874187&r1=1874186&r2=1874187&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_unixd.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_unixd.xml Wed Feb 19 10:52:38 2020
@@ -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>