summaryrefslogtreecommitdiff
path: root/man/man1/id.1
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-07-27 08:58:37 +0400
committerIgor Pashev <pashev.igor@gmail.com>2013-07-27 08:58:37 +0400
commitea839a52aebd6a29a8dde70412b0e7b8d68568b4 (patch)
tree10026e84c8b73d4e5ad6704ab1cb78ea7c63c305 /man/man1/id.1
parent6c1662a897fd34b5b0b0174ab83552b016d05e8d (diff)
downloadshadow-ea839a52aebd6a29a8dde70412b0e7b8d68568b4.tar.gz
Imported Upstream version 4.1.5.1upstream/4.1.5.1upstream
Diffstat (limited to 'man/man1/id.1')
-rw-r--r--man/man1/id.161
1 files changed, 61 insertions, 0 deletions
diff --git a/man/man1/id.1 b/man/man1/id.1
new file mode 100644
index 0000000..96c11e0
--- /dev/null
+++ b/man/man1/id.1
@@ -0,0 +1,61 @@
+'\" t
+.\" Title: id
+.\" Author: Julianne Frances Haugh
+.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
+.\" Date: 05/25/2012
+.\" Manual: User Commands
+.\" Source: shadow-utils 4.1.5.1
+.\" Language: English
+.\"
+.TH "ID" "1" "05/25/2012" "shadow\-utils 4\&.1\&.5\&.1" "User Commands"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+id \- display current user and group ID names
+.SH "SYNOPSIS"
+.HP \w'\fBid\fR\ 'u
+\fBid\fR [\-a]
+.SH "DESCRIPTION"
+.PP
+The
+\fBid\fR
+command displays the current real and effective user and group ID names or values\&. If the value does not have a corresponding entry in
+/etc/passwd
+or
+/etc/group, 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"
+.PP
+/etc/group
+.RS 4
+Group account information\&.
+.RE
+.PP
+/etc/passwd
+.RS 4
+User account information\&.
+.RE
+.SH "SEE ALSO"
+.PP
+
+\fBgetgid\fR(2),
+\fBgetgroups\fR(2),
+\fBgetuid\fR(2)