listusers — List User Login Information

Synopsis

/usr/bin/listusers [-g groups][-l logins] 

Description

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.

Options

-g groups List all user logins belonging to groups , sorted by login. You can specify ...

Get Solaris™ 7 Reference now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.