version 1.17, 2010/09/03 11:09:29 |
version 1.18, 2015/05/19 16:03:19 |
|
|
.Nm id |
.Nm id |
.Op Ar user |
.Op Ar user |
.Nm id |
.Nm id |
|
.Fl c |
|
.Op Ar user |
|
.Nm id |
.Fl G Op Fl n |
.Fl G Op Fl n |
.Op Ar user |
.Op Ar user |
.Nm id |
.Nm id |
|
|
.Pp |
.Pp |
The options are as follows: |
The options are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
|
.It Fl c |
|
Display the login class of the real user ID or the specified |
|
.Ar user . |
.It Fl G |
.It Fl G |
Display the different group IDs (effective, real and supplementary) |
Display the different group IDs (effective, real and supplementary) |
as whitespace separated numbers, in no particular order. |
as whitespace separated numbers, in no particular order. |
|
|
The list of groups to which the user belongs is then displayed as names, |
The list of groups to which the user belongs is then displayed as names, |
preceded by the keyword |
preceded by the keyword |
.Dq groups . |
.Dq groups . |
|
If there is a login class specified for the user in the |
|
.Xr passwd 5 |
|
database, it is displayed, preceded by the keyword |
|
.Dq class . |
Each display is on a separate line. |
Each display is on a separate line. |
.It Fl r |
.It Fl r |
Display the real ID for the |
Display the real ID for the |
|
|
.Sh EXIT STATUS |
.Sh EXIT STATUS |
.Ex -std id |
.Ex -std id |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr who 1 |
.Xr who 1 , |
|
.Xr login.conf 5 |
.Sh STANDARDS |
.Sh STANDARDS |
The |
The |
.Nm |
.Nm |
|
|
.St -p1003.1-2008 |
.St -p1003.1-2008 |
specification. |
specification. |
.Pp |
.Pp |
The flag |
The flags |
.Op Fl p |
.Op Fl cp |
is an extension to that specification. |
are extensions to that specification. |
.Sh HISTORY |
.Sh HISTORY |
The |
The |
historic |
historic |