shadow/man/id.1

41 lines
1002 B
Groff

.\" Title: id
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/>
.\" Date: 06/06/2006
.\" Manual: User Commands
.\" Source: User Commands
.\"
.TH "ID" "1" "06/06/2006" "User Commands" "User Commands"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.SH "NAME"
id \- display current user and group ID names
.SH "SYNOPSIS"
.HP 3
\fBid\fR [\-a]
.SH "DESCRIPTION"
.PP
\fBid\fR
displays the current real and effective user and group ID names or values. If the value does not have a corresponding entry in
\fI/etc/passwd\fR
or
\fI/etc/group\fR, the value will be displayed without the corresponding name. The optional
\fB\-a\fR
flag will display the group set on systems which support multiple concurrent group membership.
.SH "FILES"
.TP 3n
\fI/etc/group\fR
Group account information.
.TP 3n
\fI/etc/passwd\fR
User account information.
.SH "SEE ALSO"
.PP
\fBgetgid\fR(2),
\fBgetgroups\fR(2),
\fBgetuid\fR(2)