Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
User Commandslistusers(1)


NAME

 listusers - list user login information

SYNOPSIS

 listusers [-g groups] [-l logins]

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

 

The following options are supported:

-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.

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWcsu

SEE ALSO

 

nsswitch.conf(4), attributes(5)

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.


SunOS 5.9Go To TopLast Changed 18 Mar 1994

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.