From 97c26c1924b076ef23ebe4381558e8aa025712b2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 16:54:37 +0200 Subject: Adding upstream version 1:4.13+dfsg1. Signed-off-by: Daniel Baumann --- man/subuid.5.xml | 152 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 152 insertions(+) create mode 100644 man/subuid.5.xml (limited to 'man/subuid.5.xml') diff --git a/man/subuid.5.xml b/man/subuid.5.xml new file mode 100644 index 0000000..fc6b2c9 --- /dev/null +++ b/man/subuid.5.xml @@ -0,0 +1,152 @@ + + + +]> + + + + Eric + Biederman + Creation, 2013 + + + Iker + Pedrosa + Developer, 2021 + + + + subuid + 5 + File Formats and Configuration Files + shadow-utils + &SHADOW_UTILS_VERSION; + + + subuid + 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. + + This is specified with three fields delimited by colons + (:). + These fields are: + + + + login name or UID + + + numerical subordinate user ID + + + numerical subordinate user ID count + + + + + This file specifies the user IDs that ordinary users can use, with + the newuidmap command, to configure uid mapping + in a user namespace. + + + + Multiple ranges may be specified per user. + + + + When large number of entries (10000-100000 or more) are defined in + /etc/subuid, parsing performance penalty will + become noticeable. In this case it is recommended to use UIDs + instead of login names. Benchmarks have shown speed-ups up to 20x. + + + + + + FILES + + + /etc/subuid + + Per user subordinate user IDs. + + + + /etc/subuid- + + Backup file for /etc/subuid. + + + + + + + SEE ALSO + + + login.defs5 + , + + newgidmap1 + , + + newuidmap1 + , + + newusers1 + , + + subgid5 + , + + useradd8 + , + + userdel8 + , + + usermod8 + , + + user_namespaces7 + . + + + -- cgit v1.2.3