Merge pull request #345 from ikerexxe/subid_single_source
man: clarify subid delegation
This commit is contained in:
commit
0871122443
@ -88,9 +88,15 @@
|
|||||||
<title>DESCRIPTION</title>
|
<title>DESCRIPTION</title>
|
||||||
<para>
|
<para>
|
||||||
The <command>newgidmap</command> sets <filename>/proc/[pid]/gid_map</filename> based on its
|
The <command>newgidmap</command> sets <filename>/proc/[pid]/gid_map</filename> based on its
|
||||||
command line arguments and the gids allowed (either in <filename>/etc/subgid</filename> or
|
command line arguments and the gids allowed. The subid delegation can come either from files
|
||||||
through the configured NSS subid module).
|
(<filename>/etc/subgid</filename>) or from the configured NSS subid module. Only one of them
|
||||||
Note that the root user is not exempted from the requirement for a valid
|
can be chosen at a time. So, for example, if the subid source is configured as NSS and
|
||||||
|
<command>groupadd</command> is executed, then the command will fail and the entry will not be
|
||||||
|
created in <filename>/etc/subgid</filename>.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
Note that the root group is not exempted from the requirement for a valid
|
||||||
<filename>/etc/subgid</filename> entry.
|
<filename>/etc/subgid</filename> entry.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
@ -88,8 +88,14 @@
|
|||||||
<title>DESCRIPTION</title>
|
<title>DESCRIPTION</title>
|
||||||
<para>
|
<para>
|
||||||
The <command>newuidmap</command> sets <filename>/proc/[pid]/uid_map</filename> based on its
|
The <command>newuidmap</command> sets <filename>/proc/[pid]/uid_map</filename> based on its
|
||||||
command line arguments and the uids allowed (either in <filename>/etc/subuid</filename> or
|
command line arguments and the uids allowed. The subid delegation can come either from files
|
||||||
through the configured NSS subid module).
|
(<filename>/etc/subuid</filename>) or from the configured NSS subid module. Only one of them
|
||||||
|
can be chosen at a time. So, for example, if the subid source is configured as NSS and
|
||||||
|
<command>useradd</command> is executed, then the command will fail and the entry will not be
|
||||||
|
created in <filename>/etc/subuid</filename>.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
Note that the root user is not exempted from the requirement for a valid
|
Note that the root user is not exempted from the requirement for a valid
|
||||||
<filename>/etc/subuid</filename> entry.
|
<filename>/etc/subuid</filename> entry.
|
||||||
</para>
|
</para>
|
||||||
|
Loading…
Reference in New Issue
Block a user