getsubids(1) — Linux manual page
GETSUBIDS(1) User Commands GETSUBIDS(1)
NAME
getsubids - 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),
COLOPHON
This page is part of the shadow-utils (utilities for managing
accounts and shadow password files) project. Information about
the project can be found at
⟨https://github.com/shadow-maint/shadow⟩. If you have a bug
report for this manual page, send it to
pkg-shadow-devel@alioth-lists.debian.net. This page was obtained
from the project's upstream Git repository
⟨https://github.com/shadow-maint/shadow⟩ on 2024-06-15. (At that
time, the date of the most recent commit that was found in the
repository was 2024-06-13.) If you discover any rendering
problems in this HTML version of the page, or you believe there
is a better or more up-to-date source for the page, or you have
corrections or improvements to the information in this COLOPHON
(which is not part of the original manual page), send a mail to
man-pages@man7.org