1NEWUIDMAP(1)                     User Commands                    NEWUIDMAP(1)
2
3
4

NAME

6       newuidmap - set the uid mapping of a user namespace
7

SYNOPSIS

9       newuidmap pid uid loweruid count [uid loweruid count [ ... ]]
10

DESCRIPTION

12       The newuidmap sets /proc/[pid]/uid_map based on its command line
13       arguments and the uids allowed in /etc/subuid. Note that the root user
14       is not exempted from the requirement for a valid /etc/subuid entry.
15
16       After the pid argument, newuidmap expects sets of 3 integers:
17
18       uid
19           Beginning of the range of UIDs inside the user namespace.
20
21       loweruid
22           Beginning of the range of UIDs outside the user namespace.
23
24       count
25           Length of the ranges (both inside and outside the user namespace).
26
27       newuidmap verifies that the caller is the owner of the process
28       indicated by pid and that for each of the above sets, each of the UIDs
29       in the range [loweruid, loweruid+count] is allowed to the caller
30       according to /etc/subuid before setting /proc/[pid]/uid_map.
31
32       Note that newuidmap may be used only once for a given process.
33

OPTIONS

35       There currently are no options to the newuidmap command.
36

FILES

38       /etc/subuid
39           List of user's subordinate user IDs.
40
41       /proc/[pid]/uid_map
42           Mapping of uids from one between user namespaces.
43

SEE ALSO

45       login.defs(5), newusers(8), subuid(5), useradd(8), usermod(8),
46       userdel(8).
47
48
49
50shadow-utils 4.6                  09/02/2019                      NEWUIDMAP(1)
Impressum