getsubids(1) — Linux manual page


GETSUBIDS(1)                  User Commands                 GETSUBIDS(1)

NAME         top

       getsubids - get the subordinate id ranges for a user

SYNOPSIS         top

       getsubids [options] USER

DESCRIPTION         top

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

OPTIONS         top

       The options which apply to the getsubids command are:

           List the subordinate group ID ranges.

           Display help message and exit.

EXAMPLE         top

       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

SEE ALSO         top

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

COLOPHON         top

       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 
       ⟨⟩.  If you have a bug
       report for this manual page, send it to  This page was obtained
       from the project's upstream Git repository
       ⟨⟩ on 2023-12-22.  (At that
       time, the date of the most recent commit that was found in the
       repository was 2023-12-15.)  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

shadow-utils 4.11.1            12/22/2023                   GETSUBIDS(1)