.\"
.\" Copyright (c) 2003 Gunnar Ritter
.\"
.\" This software is provided 'as-is', without any express or implied
.\" warranty. In no event will the authors be held liable for any damages
.\" arising from the use of this software.
.\"
.\" Permission is granted to anyone to use this software for any purpose,
.\" including commercial applications, and to alter it and redistribute
.\" it freely, subject to the following restrictions:
.\"
.\" 1. The origin of this software must not be misrepresented; you must not
.\"    claim that you wrote the original software. If you use this software
.\"    in a product, an acknowledgment in the product documentation would be
.\"    appreciated but is not required.
.\"
.\" 2. Altered source versions must be plainly marked as such, and must not be
.\"    misrepresented as being the original software.
.\"
.\" 3. This notice may not be removed or altered from any source distribution.
.\"
.\" Sccsid @(#)listusers.1	1.6 (gritter) 4/17/03
.TH LISTUSERS 1 "4/17/03" "Heirloom Toolchest" "User Commands"
.SH NAME
listusers \- print a list of user logins
.SH SYNOPSIS
listusers [-g groups] [-l logins]
.SH DESCRIPTION
Listusers prints the name and the gecos information
of all users known to the system,
sorted by username.
.PP
Valid options are:
.TP
.BI "-g" \ groups
Only print the names of users
that belong to the given group.
Multiple groups are accepted if separated by commas.
.TP
.BI "-l" \ logins
Print only user names that match \fIlogins\fR.
Multiple user names are accepted if separated by commas.
.SH "SEE ALSO"
passwd(5)
.SH NOTES
Only users whose UID is greater than 100 are recognized.
