'\"macro stdmacro
.if n .pH g1.listusers @(#)listusers	41.1 of 10/10/89
.nr X
.if \nX=0 .ds x} listusers 1 "" "\&"
.if \nX=1 .ds x} listusers 1 ""
.if \nX=2 .ds x} listusers 1 "" "\&"
.if \nX=3 .ds x} listusers "" "" "\&"
.TH \*(x}
.SH NAME
\f4listusers\f1 \- list user login information
.SH SYNOPSIS
.ft CW
listusers \f1[\f4\-g \f2groups\f1] [\f4\-l \f2logins\f1]
.SH DESCRIPTION
Executed without any options,
this command lists all user logins sorted by login.
The output shows the login ID and the account field value in
\f4/etc/passwd\f1.
.P
.PD 0
.TP
\f4\-g\f1
Lists all user logins belonging to \f4group\fP, sorted by login.
Multiple groups can be specified as a comma-separated list.
.sp
.TP
\f4\-l\f1
Lists the user login or logins specified by \f4logins\fP, sorted by login.
Multiple logins can be specified as a comma-separated list.
.PD
.PP
.SH NOTES
A user login is one that has a UID of 100 or greater.
.sp
The \f4\-l\f1 and \f4\-g\f1 options can be combined.
User logins will only be listed
once, even if they belong to more than one of the selected groups.
