Man page - subuid(5)
Packages contas this manual
- userdel(8)
- vipw(8)
- grpunconv(8)
- gshadow(5)
- pwunconv(8)
- chgpasswd(8)
- groupdel(8)
- subuid(5)
- useradd(8)
- usermod(8)
- subgid(5)
- vigr(8)
- groupadd(8)
- grpck(8)
- passwd(5)
- grpconv(8)
- passwd(1)
- shadowconfig(8)
- expiry(1)
- gpasswd(1)
- chpasswd(8)
- pwck(8)
- shadow(5)
- pwconv(8)
- chfn(1)
- groupmod(8)
- chage(1)
- chsh(1)
- newusers(8)
apt-get install passwd
Available languages:
en frManual
| SUBUID(5) | File Formats and Configuration | SUBUID(5) |
NOM
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 newusers, useradd, and usermod 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:
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.
FICHIERS
/etc/subuid
/etc/subuid-
VOIR AUSSI
login.defs(5), newgidmap(1), newuidmap(1), newusers(8), subgid(5), useradd(8), userdel(8), usermod(8), user_namespaces(7).
| 19/04/2025 | shadow-utils 4.17.4 |