Skip to main content
User guide

Subordinate IDs

Central subuid and subgid allocation for rootless containers. Ranges are a fixed 65536, not selectable and never reclaimed; the statistics page shows what is left.

This page covers the Subordinate IDs page under Identity. Rootless containers (podman, rootless docker) need each user to own a subordinate ID range in /etc/subuid and /etc/subgid. Maintaining those files per host leads to collisions. IPA allocates the ranges centrally and sssd 2.5 or later serves them through its subid provider, so nothing is written on the host.

Subordinate IDs

Allocation rules

ItemValue
Range size per user65536, fixed
StartSequential from LINUX.IPA.TEST_subid_range (2147483648 upwards)
Ranges per userAt most one; subuid and subgid start at the same value
ReclaimNever. After the user is deleted the range is dead and not reissued

Add allocates a range for the chosen user. Users can also request their own if they hold the role Subordinate ID Selfservice User, which is empty by default. The CLI equivalent is ipa subid-generate --owner=<user>.

Statistics

Subordinate ID statistics

ColumnMeaning
Base IDStart of the subordinate range
Assigned subordinate IDsRanges handed out
Remaining subordinate IDsRanges still available
Range sizeTotal IDs the subordinate range holds
DNA remainingRanges this server's DNA plugin still holds unissued. Each master takes a slice

The default range is 2147352576 IDs, enough for 32767 users.

Client

# /etc/nsswitch.conf
subid: sss

Supported from sssd 2.5. podman unshare cat /proc/self/uid_map showing the mapping confirms it works. Older clients keep a hand-written /etc/subuid.

Boundaries

TopicNotes
Choosing a range valueNot supported. A specific value means bypassing IPA and writing the file locally
AD usersCannot obtain subordinate IDs from IPA

On this page