|
NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXAMPLE | SEE ALSO | COLOPHON |
|
|
|
GETSUBIDS(1) User Commands GETSUBIDS(1)
getsubids - get the subordinate id ranges for a user
getsubids [options] USER
The getsubids command lists the subordinate user ID ranges for a
given user. The subordinate group IDs can be listed using the -g
option.
The options which apply to the getsubids command are:
-g
List the subordinate group ID ranges.
-h
Display help message and exit.
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.
login.defs(5), newgidmap(1), newuidmap(1), subgid(5), subuid(5),
useradd(8), userdel(8). usermod(8),
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 tarball shadow-4.19.0.tar fetched from
⟨https://github.com/shadow-maint/shadow/releases⟩ on 2026-01-16.
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
shadow-utils 4.19.0 01/16/2026 GETSUBIDS(1)