1SUBGID(5)                File Formats and Conversions                SUBGID(5)
2
3
4

NAME

6       subgid - the subordinate gid file
7

DESCRIPTION

9       Each line in /etc/subgid contains a user name and a range of
10       subordinate group ids that user is allowed to use. This is specified
11       with three fields delimited by colons (“:”). These fields are:
12
13       •   login name or UID
14
15       •   numerical subordinate group ID
16
17       •   numerical subordinate group ID count
18
19       This file specifies the group IDs that ordinary users can use, with the
20       newgidmap command, to configure gid mapping in a user namespace.
21
22       Multiple ranges may be specified per user.
23
24       When large number of entries (10000-100000 or more) are defined in
25       /etc/subgid, parsing performance penalty will become noticeable. In
26       this case it is recommended to use UIDs instead of login names.
27       Benchmarks have shown speed-ups up to 20x.
28

FILES

30       /etc/subgid
31           Per user subordinate group IDs.
32
33       /etc/subgid-
34           Backup file for /etc/subgid.
35

SEE ALSO

37       login.defs(5), newgidmap(1), newuidmap(1), newusers(8), subuid(5),
38       useradd(8), userdel(8), usermod(8), user_namespaces(7).
39
40
41
42shadow-utils 4.8.1                03/29/2021                         SUBGID(5)
Impressum