logins.1 (0a5f38d4b135989a007c72a29e7879401ad9e960) logins.1 (7b8fd8e3132e4765cebbcbb8cee5c33fa5684fb4)
1.\"-
2.\" Copyright (c) 2004 Dag-Erling Co�dan Sm�rgrav
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 30 unchanged lines hidden (view full) ---

39.Op Fl g Ar groups
40.Op Fl l Ar logins
41.Sh DESCRIPTION
42The
43.Nm
44utility displays information about user and system accounts.
45.Pp
46The following options are available:
1.\"-
2.\" Copyright (c) 2004 Dag-Erling Co�dan Sm�rgrav
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 30 unchanged lines hidden (view full) ---

39.Op Fl g Ar groups
40.Op Fl l Ar logins
41.Sh DESCRIPTION
42The
43.Nm
44utility displays information about user and system accounts.
45.Pp
46The following options are available:
47.Bl -tag -width Fl
47.Bl -tag -width ".Fl g Ar groups"
48.It Fl a
49Display information about the password change and account expiration
50times for each account.
51.It Fl d
52Select accounts with duplicate UIDs.
53.It Fl g Ar groups
54Select accounts that are members of the specified groups.
55If multiple group names are specified, they must be separated with

--- 5 unchanged lines hidden (view full) ---

61Show information about secondary groups.
62.It Fl o
63Display the information for each account on a single line of
64colon-separated fields.
65.It Fl p
66Select accounts with no password.
67.It Fl s
68Select system accounts.
48.It Fl a
49Display information about the password change and account expiration
50times for each account.
51.It Fl d
52Select accounts with duplicate UIDs.
53.It Fl g Ar groups
54Select accounts that are members of the specified groups.
55If multiple group names are specified, they must be separated with

--- 5 unchanged lines hidden (view full) ---

61Show information about secondary groups.
62.It Fl o
63Display the information for each account on a single line of
64colon-separated fields.
65.It Fl p
66Select accounts with no password.
67.It Fl s
68Select system accounts.
69This is currently defined as accounts with UIDs below 1000, plus the
70.Dq nobody
69These are currently defined as accounts with UIDs below 1000, plus the
70.Dq Li nobody
71account (UID 65534).
72.It Fl t
73Sort selected accounts by name rather than by UID.
74.It Fl u
75Select user accounts.
76These are currently defined as accounts with UIDs above 1000, except
77the
71account (UID 65534).
72.It Fl t
73Sort selected accounts by name rather than by UID.
74.It Fl u
75Select user accounts.
76These are currently defined as accounts with UIDs above 1000, except
77the
78.Dq nobody
78.Dq Li nobody
79account (UID 65534).
80.It Fl x
81Display information about each account's home directory and shell.
82.El
83.Pp
84If multiple selection options are specified, all accounts matching any
85of the selection criteria will be displayed.
86.Pp
79account (UID 65534).
80.It Fl x
81Display information about each account's home directory and shell.
82.El
83.Pp
84If multiple selection options are specified, all accounts matching any
85of the selection criteria will be displayed.
86.Pp
87If no selection options are specified, all acounts will be displayed.
87If no selection options are specified, all accounts will be displayed.
88.Sh SEE ALSO
89.Xr getgrent 3 ,
90.Xr getpwent 3 ,
91.Xr group 5 ,
92.Xr passwd 5 ,
93.Xr pw 8
94.Sh HISTORY
95The
96.Nm
88.Sh SEE ALSO
89.Xr getgrent 3 ,
90.Xr getpwent 3 ,
91.Xr group 5 ,
92.Xr passwd 5 ,
93.Xr pw 8
94.Sh HISTORY
95The
96.Nm
97command appeared in
97utility appeared in
98.Fx 4.10 .
99.Sh AUTHORS
98.Fx 4.10 .
99.Sh AUTHORS
100.An -nosplit
101The
102.Nm
103utility was written by
104.An Dag-Erling Sm\(/orgrav Aq des@FreeBSD.org
105based on similar utilities in other operating systems.
100The
101.Nm
102utility was written by
103.An Dag-Erling Sm\(/orgrav Aq des@FreeBSD.org
104based on similar utilities in other operating systems.