2007-10-07 17:16:52 +05:30
|
|
|
.\" ** You probably do not want to edit this file directly **
|
2007-10-07 17:17:01 +05:30
|
|
|
.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
|
2007-10-07 17:16:52 +05:30
|
|
|
.\" Instead of manually editing it, you probably should edit the DocBook XML
|
|
|
|
.\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
|
2007-10-07 17:17:11 +05:30
|
|
|
.TH "ID" "1" "12/07/2005" "User Commands" "User Commands"
|
2007-10-07 17:16:52 +05:30
|
|
|
.\" disable hyphenation
|
|
|
|
.nh
|
|
|
|
.\" disable justification (adjust text to left margin only)
|
|
|
|
.ad l
|
|
|
|
.SH "NAME"
|
2007-10-07 17:14:02 +05:30
|
|
|
id \- Display current user and group ID names
|
2007-10-07 17:16:25 +05:30
|
|
|
.SH "SYNOPSIS"
|
|
|
|
.HP 3
|
|
|
|
\fBid\fR [\-a]
|
|
|
|
.SH "DESCRIPTION"
|
|
|
|
.PP
|
2007-10-07 17:17:01 +05:30
|
|
|
\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
|
2007-10-07 17:16:52 +05:30
|
|
|
flag will display the group set on systems which support multiple concurrent group membership.
|
2007-10-07 17:16:25 +05:30
|
|
|
.SH "FILES"
|
|
|
|
.TP
|
|
|
|
\fI/etc/group\fR
|
|
|
|
group account information
|
|
|
|
.TP
|
|
|
|
\fI/etc/passwd\fR
|
|
|
|
user account information
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
.PP
|
2007-10-07 17:17:01 +05:30
|
|
|
\fBgetgid\fR(2),
|
|
|
|
\fBgetgroups\fR(2),
|
2007-10-07 17:16:52 +05:30
|
|
|
\fBgetuid\fR(2)
|