[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    listusers(1) manual page Table of Contents

Name

listusers - list user login information

Synopsis

listusers [ -g groups ] [ -l logins ]

Availability

SUNWcsu

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 from the system’s password database as specified by /etc/nsswitch.conf.

Options

-g groups
Lists all user logins belonging to group, sorted by login. Multiple groups can be specified as a comma-separated list.
-l logins
Lists the user login or logins specified by logins, sorted by login. Multiple logins can be specified as a comma-separated list.

See Also

nsswitch.conf(4)

Notes

A user login is one that has a UID of 100 or greater.

The -l and -g options can be combined. User logins will only be listed once, even if they belong to more than one of the selected groups.


Table of Contents