blob: fa026b02071c6b2b7cce967fd26cebe98621c01d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
'\" t
.\" Title: getsubids
.\" Author: Iker Pedrosa
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
.\" Date: 06/21/2024
.\" Manual: User Commands
.\" Source: shadow-utils 4.15.2
.\" Language: English
.\"
.TH "GETSUBIDS" "1" "06/21/2024" "shadow\-utils 4\&.15\&.2" "User Commands"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
getsubids \- get the subordinate id ranges for a user
.SH "SYNOPSIS"
.HP \w'\fBgetsubids\fR\ 'u
\fBgetsubids\fR [\fIoptions\fR] \fIUSER\fR
.SH "DESCRIPTION"
.PP
The
\fBgetsubids\fR
command lists the subordinate user ID ranges for a given user\&. The subordinate group IDs can be listed using the
\fB\-g\fR
option\&.
.SH "OPTIONS"
.PP
The options which apply to the
\fBgetsubids\fR
command are:
.PP
\fB\-g\fR
.RS 4
List the subordinate group ID ranges\&.
.RE
.PP
\fB\-h\fR
.RS 4
Display help message and exit\&.
.RE
.SH "EXAMPLE"
.PP
For example, to obtain the subordinate UIDs of the testuser:
.PP
.if n \{\
.RS 4
.\}
.nf
$ getsubids testuser
0: testuser 100000 65536
.fi
.if n \{\
.RE
.\}
.PP
This command output provides (in order from left to right) the list index, username, UID range start, and number of UIDs in range\&.
.SH "SEE ALSO"
.PP
\fBlogin.defs\fR(5),
\fBnewgidmap\fR(1),
\fBnewuidmap\fR(1),
\fBsubgid\fR(5),
\fBsubuid\fR(5),
\fBuseradd\fR(8),
\fBuserdel\fR(8)\&.
\fBusermod\fR(8),
|