listusers — List User Login Information
/usr/bin/listusers [-g groups][-l logins]
Executed without any options, the listusers 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, as shown in the following example.
castle% listusers des noaccess No Access User nobody Nobody nobody4 SunOS 4.x Nobody ray rob winsor castle%
A user login is one that has a UID of 100 or greater.
You can combine the -l and -g options. User logins are listed only once, even if they belong to more than one of the selected groups.
|-g groups||List all user logins belonging to groups , sorted by login. You can specify ...|