getsubids(1)

getsubids1

Get the subordinate id ranges for a user

Usage

getsubids [options] USER

Overview

The getsubids command lists the subordinate user ID ranges for a given user. The subordinate group IDs can be listed using the -g option.

Options

The options which apply to the getsubids command are:

-g

List the subordinate group ID ranges.

-h

Display help message and exit.

Examples

For example, to obtain the subordinate UIDs of the testuser:

$ getsubids testuser
0: testuser 100000 65536

This command output provides (in order from left to right) the list index, username, UID range start, and number of UIDs in range.

Releases

3 releases since Debian 12 (Bookworm); the text changed 2 times.

  1. 12
  2. 13
  3. Arch

From shadow 4.20.0.arch1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.