diff -up shadow-4.6/man/newgidmap.1.xml.man_clarify_subid_delegation shadow-4.6/man/newgidmap.1.xml --- shadow-4.6/man/newgidmap.1.xml.man_clarify_subid_delegation 2021-11-03 09:58:34.176484342 +0100 +++ shadow-4.6/man/newgidmap.1.xml 2021-11-03 09:58:34.191484452 +0100 @@ -80,10 +80,15 @@ DESCRIPTION - The newgidmap sets /proc/[pid]/gid_map based on its - command line arguments and the gids allowed (either in /etc/subgid or - through the configured NSS subid module). - Note that the root user is not exempted from the requirement for a valid + The newgidmap sets /proc/[pid]/gid_map + based on its command line arguments and the gids allowed. Subgid + delegation can either be managed via /etc/subgid + or through the configured NSS subid module. These options are mutually + exclusive. + + + + Note that the root group is not exempted from the requirement for a valid /etc/subgid entry. diff -up shadow-4.6/man/newuidmap.1.xml.man_clarify_subid_delegation shadow-4.6/man/newuidmap.1.xml --- shadow-4.6/man/newuidmap.1.xml.man_clarify_subid_delegation 2021-11-03 09:58:34.176484342 +0100 +++ shadow-4.6/man/newuidmap.1.xml 2021-11-03 09:58:34.191484452 +0100 @@ -80,9 +80,14 @@ DESCRIPTION - The newuidmap sets /proc/[pid]/uid_map based on its - command line arguments and the uids allowed (either in /etc/subuid or - through the configured NSS subid module). + The newuidmap sets /proc/[pid]/uid_map + based on its command line arguments and the uids allowed. Subuid + delegation can either be managed via /etc/subuid or + through the configured NSS subid module. These options are mutually + exclusive. + + + Note that the root user is not exempted from the requirement for a valid /etc/subuid entry. diff -up shadow-4.6/man/subgid.5.xml.man_clarify_subid_delegation shadow-4.6/man/subgid.5.xml --- shadow-4.6/man/subgid.5.xml.man_clarify_subid_delegation 2018-04-29 18:42:37.000000000 +0200 +++ shadow-4.6/man/subgid.5.xml 2021-11-03 09:59:55.752084920 +0100 @@ -32,6 +32,18 @@ ]> + + + Eric + Biederman + Creation, 2013 + + + Iker + Pedrosa + Developer, 2021 + + subgid 5 @@ -41,12 +53,37 @@ subgid - the subordinate gid file + the configuration for subordinate group ids DESCRIPTION + Subgid authorizes a group id to map ranges of group ids from its namespace + into child namespaces. + + + The delegation of the subordinate gids can be configured via the + subid field in + /etc/nsswitch.conf file. Only one value can be set + as the delegation source. Setting this field to + files configures the delegation of gids to + /etc/subgid. Setting any other value treats + the delegation as a plugin following with a name of the form + libsubid_$value.so. If the value or plugin is + missing, then the subordinate gid delegation falls back to + files. + + + Note, that groupadd will only create entries in + /etc/subgid if subid delegation is managed via subid + files. + + + + + LOCAL SUBORDINATE DELEGATION + Each line in /etc/subgid contains a user name and a range of subordinate group ids that user is allowed to use. diff -up shadow-4.6/man/subuid.5.xml.man_clarify_subid_delegation shadow-4.6/man/subuid.5.xml --- shadow-4.6/man/subuid.5.xml.man_clarify_subid_delegation 2018-04-29 18:42:37.000000000 +0200 +++ shadow-4.6/man/subuid.5.xml 2021-11-03 10:00:18.888255255 +0100 @@ -32,6 +32,18 @@ ]> + + + Eric + Biederman + Creation, 2013 + + + Iker + Pedrosa + Developer, 2021 + + subuid 5 @@ -41,12 +53,37 @@ subuid - the subordinate uid file + the configuration for subordinate user ids DESCRIPTION + Subuid authorizes a user id to map ranges of user ids from its namespace + into child namespaces. + + + The delegation of the subordinate uids can be configured via the + subid field in + /etc/nsswitch.conf file. Only one value can be set + as the delegation source. Setting this field to + files configures the delegation of uids to + /etc/subuid. Setting any other value treats + the delegation as a plugin following with a name of the form + libsubid_$value.so. If the value or plugin is + missing, then the subordinate uid delegation falls back to + files. + + + Note, that useradd will only create entries in + /etc/subuid if subid delegation is managed via subid + files. + + + + + LOCAL SUBORDINATE DELEGATION + Each line in /etc/subuid contains a user name and a range of subordinate user ids that user is allowed to use.