SUBUID - Online Linux Manual PageSection : 5
Updated : 03/06/2023
Source : shadow−utils 4​.13
Note : File Formats and Configuration

NAMEsubuid − the configuration for subordinate user ids

DESCRIPTIONSubuid 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 DELEGATIONEach 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 ALSOlogin.defs(5), newgidmap(1), newuidmap(1), newusers(1), subgid(5), useradd(8), userdel(8), usermod(8), user_namespaces(7)​.
0
Johanes Gumabo
Data Size   :   8,158 byte
man-subuid.5Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 202,492
Visitor ID   :     :  
Visitor IP   :   18.218.123.194   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   10   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.