getsubids - Man Page

get the subordinate id ranges for a user

Synopsis

getsubids [options] USER

Description

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.

Example

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.

See Also

login.defs(5), newgidmap(1), newuidmap(1), subgid(5), subuid(5), useradd(8), userdel(8). usermod(8),

Info

10/16/2024 shadow-utils 4.16.0