1listusers(1) User Commands listusers(1)
2
3
4
6 listusers - list user login information
7
9 listusers [-g groups] [-l logins]
10
11
13 Executed without any options, this command lists all user logins sorted
14 by login. The output shows the login ID and the account field value
15 from the system's password database as specified by /etc/nsswitch.conf.
16
18 The following options are supported:
19
20 -g groups Lists all user logins belonging to group, sorted by login.
21 Multiple groups can be specified as a comma-separated
22 list.
23
24
25 -l logins Lists the user login or logins specified by logins, sorted
26 by login. Multiple logins can be specified as a comma-sep‐
27 arated list.
28
29
31 See attributes(5) for descriptions of the following attributes:
32
33
34
35
36 ┌───────────────────────────────────────────────────────────┐
37 │ATTRIBUTE TYPE ATTRIBUTE VALUE │
38 │Availability SUNWcsu │
39 └───────────────────────────────────────────────────────────┘
40
42 nsswitch.conf(4), attributes(5)
43
45 A user login is one that has a UID of 100 or greater.
46
47
48 The -l and -g options can be combined. User logins will only be listed
49 once, even if they belong to more than one of the selected groups.
50
51
52
53SunOS 5.11 18 Mar 1994 listusers(1)