From 333f7ecfa3e040191c66b2b92f6c117ca2cbac1d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 14:50:00 +0200 Subject: Adding upstream version 1:4.8.1. Signed-off-by: Daniel Baumann --- man/newuidmap.1.xml | 189 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 189 insertions(+) create mode 100644 man/newuidmap.1.xml (limited to 'man/newuidmap.1.xml') diff --git a/man/newuidmap.1.xml b/man/newuidmap.1.xml new file mode 100644 index 0000000..faa2373 --- /dev/null +++ b/man/newuidmap.1.xml @@ -0,0 +1,189 @@ + + + +]> + + + + + Eric + Biederman + Creation, 2013 + + + + newuidmap + 1 + User Commands + shadow-utils + &SHADOW_UTILS_VERSION; + + + newuidmap + set the uid mapping of a user namespace + + + + + newuidmap + + pid + + + uid + + + loweruid + + + count + + + + uid + + + loweruid + + + count + + + ... + + + + + + + DESCRIPTION + + The newuidmap sets /proc/[pid]/uid_map based on its + command line arguments and the uids allowed in /etc/subuid. + Note that the root user is not exempted from the requirement for a valid + /etc/subuid entry. + + + + After the pid argument, newuidmap expects sets of 3 integers: + + + uid + + + Beginning of the range of UIDs inside the user namespace. + + + + + loweruid + + + Beginning of the range of UIDs outside the user namespace. + + + + + count + + + Length of the ranges (both inside and outside the user namespace). + + + + + + + + newuidmap verifies that the caller is the owner + of the process indicated by and that for each + of the above sets, each of the UIDs in the range [loweruid, + loweruid+count] is allowed to the caller according to + /etc/subuid before setting + /proc/[pid]/uid_map. + + + Note that newuidmap may be used only once for a given process. + + + + + OPTIONS + + There currently are no options to the newuidmap command. + + + + + + + FILES + + + /etc/subuid + + List of user's subordinate user IDs. + + + + /proc/[pid]/uid_map + + Mapping of uids from one between user namespaces. + + + + + + + SEE ALSO + + + login.defs5 + , + + newusers8 + , + + subuid5 + , + + useradd8 + , + + usermod8 + , + + userdel8 + . + + + -- cgit v1.2.3