*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> listusers (1)              
Title
Content
Arch
Section
 

Contents


 listusers(1)                                                   listusers(1)




 NAME    [Toc]    [Back]
      listusers - display user login data

 SYNOPSIS    [Toc]    [Back]
      listusers [-g groups] [-l logins]

 DESCRIPTION    [Toc]    [Back]
      The listusers command displays data concerning user logins.  The
      output shows the user login and the /etc/passwd comment field value
      (e.g., user name, etc.).  The default displays data about all user
      logins.

    Options    [Toc]    [Back]
      The listusers command supports the following options:

           -g groups      Display all users belonging to groups, sorted by
                          login.  A comma separated list specifies multiple
                          groups.

           -l logins      Display the requested logins.  A comma separated
                          list specifies multiple logins.

      A user login has a UID of 100 or greater.

      When the -l and -g options are combined, a user login is only
      displayed once, even though the login may belong to multiple specified
      groups.

 EXAMPLES    [Toc]    [Back]
      List all user logins.

           listusers

      List all user logins in the group cmds and the users bob, john and
      otto, removing all duplicates.

           listusers -g cmds -l bob,john,otto

 FILES    [Toc]    [Back]
      /etc/passwd
      /etc/group

 SEE ALSO    [Toc]    [Back]
      passwd(1), logins(1M), group(4), passwd(4).

 STANDARDS COMPLIANCE    [Toc]    [Back]
      listusers: SVID3


 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003
[ Back ]
      
      
 Similar pages
Name OS Title
logins HP-UX display system and user login data
swjob HP-UX display and monitor job information and create and remove jobs; invoke graphical user interface to display and
sd HP-UX display and monitor job information and create and remove jobs; invoke graphical user interface to display and
logname OpenBSD display user's login name
logname FreeBSD display user's login name
logname Tru64 Displays user login name
btmps HP-UX user login information
cuserid IRIX get character login name of the user
useradd HP-UX add a new user login to the system
wtmps HP-UX user login information
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service