United States-English |
|
|
HP-UX Reference > Llistusers(1)HP-UX 11i Version 3: February 2007 |
|
NAMElistusers — display user login data DESCRIPTIONThe listusers command displays data concerning user logins. The output shows the user login and the /etc/passwd comment field value (for example, user name, location). The default displays data about all user logins. OptionsThe listusers command supports the following options:
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. EXAMPLESList 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 List all users who have cmds as their primary group. listusers -b -g cmds List all users who have cmds as their supplementary group. listusers -c -g cmds List only local user logins. listusers -r local List only NIS user logins. listusers -r nis |
Printable version | ||
|