mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
core: document 'DefaultRestrictSUIDSGID'
This commit is contained in:
@@ -547,6 +547,17 @@
|
||||
|
||||
<xi:include href="version-info.xml" xpointer="v252"/></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><varname>DefaultRestrictSUIDSGID=</varname></term>
|
||||
|
||||
<listitem><para>Takes a boolean argument. This is used as a default for units
|
||||
which lack an explicit definition for <varname>RestrictSUIDSGID=</varname>.
|
||||
See <citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>5</manvolnum></citerefentry>
|
||||
for the details.</para>
|
||||
|
||||
<xi:include href="version-info.xml" xpointer="v258"/></listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
@@ -2626,7 +2626,11 @@ RestrictNamespaces=~cgroup net</programlisting>
|
||||
programs that actually require them. Note that this restricts marking of any type of file system
|
||||
object with these bits, including both regular files and directories (where the SGID is a different
|
||||
meaning than for files, see documentation). This option is implied if <varname>DynamicUser=</varname>
|
||||
is enabled. Defaults to off.</para>
|
||||
is enabled.</para>
|
||||
|
||||
<para>In other cases, this setting defaults to the value set with <varname>DefaultRestrictSUIDSGID=</varname> in
|
||||
<citerefentry><refentrytitle>systemd-system.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>, which
|
||||
defaults to off.</para>
|
||||
|
||||
<xi:include href="version-info.xml" xpointer="v242"/></listitem>
|
||||
</varlistentry>
|
||||
|
||||
Reference in New Issue
Block a user