The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
<html><head><title>id</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" >
</head>
<body class='pod'>
<!--
  generated by Pod::Simple::HTML v3.01,
  using Pod::Simple::PullParser v2.02,
  under Perl v5.008002 at Thu Aug  5 13:56:23 2004 GMT.

 If you want to change this HTML document, you probably shouldn't do that
   by changing it directly.  Instead, see about changing the calling options
   to Pod::Simple::HTML, and/or subclassing Pod::Simple::HTML,
   then reconverting this document from the Pod source.
   When in doubt, email the author of Pod::Simple::HTML for advice.
   See 'perldoc Pod::Simple::HTML' for more info.

-->

<!-- start doc -->
<a name='___top' class='dummyTopAnchor' ></a>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="NAME"
>NAME</a></h1>

<p>id - show user information</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="SYNOPSIS"
>SYNOPSIS</a></h1>

<p>id [-Gnuagraph] [user]</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="DESCRIPTION"
>DESCRIPTION</a></h1>

<p>id displays the user and group names and numeric IDs of the calling process.
If the real and effective IDs are different,
both are displayed,
otherwise only the real ID is displayed.</p>

<p>If a user (username or user ID) is specified,
the information about that user is displayed instead of the information from the calling process.</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="OPTIONS_AND_ARGUMENTS"
>OPTIONS AND ARGUMENTS</a></h1>

<dl>
<dt><a name="-G_Display_all_of_the_group_IDs_(effective,_real,_etc)_separated_by_a_space._The_IDs_are_not_in_a_given_order."
><i>-G</i> Display all of the group IDs (effective,
real,
etc) separated by a space.
The IDs are not in a given order.</a></dt><p class="pad"></p>

<dt><a name="-a_Nothing._The_option_is_included_for_compatibility_with_some_versions_of_id."
><i>-a</i> Nothing.
The option is included for compatibility with some versions of id.</a></dt><p class="pad"></p>

<dt><a name="-g_Display_the_effective_group_ID."
><i>-g</i> Display the effective group ID.</a></dt><p class="pad"></p>

<dt><a name="-h_Display_the_usage_help_message."
><i>-h</i> Display the usage help message.</a></dt><p class="pad"></p>

<dt><a 
><i>-n</i> Force the options <code lang='und' xml:lang='und'>-G</code>,
<code lang='und' xml:lang='und'>-g</code> and <code lang='und' xml:lang='und'>-u</code> to display the matching name instead of the number for the user and group IDs.
If any of the ID numbers do not have a matching name,
the number will be displayed as usual.</a></dt><p class="pad"></p>

<dt><a 
><i>-p</i> Display the user/group information on seperate lines.
If the username returned by getlogin is different than the username associated with the calling program&#39;s user ID,
it is displayed preceded by the phrase &#34;login&#34;.
The real ID,
effective user ID (if different),
real group ID,
and effective group ID (if different) are displayed preceded by &#34;uid&#34;,
&#34;euid&#34;,
&#34;rgid&#34;,
and &#34;egid&#34; respectively.
Finally,
group membership is displayed with each group separated by a space.
All information is displayed as names unless there is no name matching the ID.
Then the ID is shown as usual.</a></dt><p class="pad"></p>

<dt><a 
><i>-r</i> Force the options <code lang='und' xml:lang='und'>-g</code> and &#60;-u&#62; to display the information associated with the real user/group IDs instead of the effective ID information.</a></dt><p class="pad"></p>

<dt><a name="-u_Display_the_effective_user_ID."
><i>-u</i> Display the effective user ID.</a></dt><p class="pad"></p>
</dl>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="NOTES"
>NOTES</a></h1>

<p>id returns 0 on success or 1 if an error occurred.</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="AUTHOR"
>AUTHOR</a></h1>

<p>Theo Van Dinter (felicity@kluge.net)</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="SEE_ALSO"
>SEE ALSO</a></h1>

<p>who(1)</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="POD_ERRORS"
>POD ERRORS</a></h1>

<p>Hey!
<b>The above document had some coding errors,
which are explained below:</b></p>

<dl>
<dt><a name="Around_line_177:"
>Around line 177:</a></dt><p class="pad"></p>

<dd>&#39;=item&#39; outside of any &#39;=over&#39;</dd><p class="pad"></p>

<dt><a name="Around_line_214:"
>Around line 214:</a></dt><p class="pad"></p>

<dd>You forgot a &#39;=back&#39; before &#39;=head1&#39;</dd><p class="pad"></p>
</dl>

<!-- end doc -->

</body></html>