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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.