listusers man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

listusers(1)							  listusers(1)

NAME
       listusers - Lists user login information

SYNOPSIS
       listusers [-ggroups] [-llogins]

OPTIONS
       Displays the login names and associated data of all the users belonging
       to the group groups. The groups operand can  also  be  specified	 as  a
       comma separated list of groups.	Displays the login name and associated
       data of the user or users specified by  logins.	Specify	 logins	 as  a
       comma separated list of login names for multiple users.

DESCRIPTION
       When  it	 is  executed without any options, listusers displays all user
       logins, sorted by login name. Each line displays the login ID, followed
       by the account field from the /etc/passwd file.

       The options limit the display to specific login names or group names.

       When  listusers	is  executed in an NIS environment (client or master),
       listusers displays all local and distributed  users,  sorted  by	 login
       name.

       It  is  not  possible  to select only local users or distributed users;
       listusers always displays both.

NOTES
       The listusers command displays all user login names.

       You can combine the -g and the -l options, but the user login names are
       listed  only  once,  even if a given user belongs to multiple groups. A
       user login specified with the -l option is listed even when it is not a
       member of the group or groups specified with the -g option.

EXAMPLES
       The  following  example	shows  how to display all login names for your
       system.	$ listusers

       The following example shows how to display the user with the login name
       vp.  $listusers -l vp

       The  following  example	shows  how to display the users with the login
       names jr, dl, and jh.  $ listusers -l jr,dl,jh  The  following  example
       shows  how  to display all the users in the group mygroup.  $ listusers
       -g mygroup The following example shows how to display all the users  in
       the  group  mygroup  and	 the users whose login names are bt and vp.  $
       listusers -g mygroup -l bt,vp

FILES
       The listusers command operates on the user and group databases for  the
       given level of system security.

SEE ALSO
       Commands: groups(8), logins(8)

								  listusers(1)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net