getsubids(1) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXAMPLE | SEE ALSO | COLOPHON

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
       option.

OPTIONS         top

       The options which apply to the getsubids command are:

       -g
           List the subordinate group ID ranges.

       -h
           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
       range.

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 
       ⟨https://github.com/shadow-maint/shadow⟩.  If you have a bug
       report for this manual page, send it to
       [email protected].  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
       [email protected]

shadow-utils 4.14.0            06/15/2024                   GETSUBIDS(1)