Improve groups and id manpages
Signed-off-by: Serge Hallyn <serge@hallyn.com>
This commit is contained in:
parent
b3ce696f36
commit
10b2e1e7c5
@ -56,16 +56,17 @@
|
|||||||
The <command>groups</command> command displays the current group names
|
The <command>groups</command> command displays the current group names
|
||||||
or ID values. If the value does not have a corresponding entry in
|
or ID values. If the value does not have a corresponding entry in
|
||||||
<filename>/etc/group</filename>, the value will be displayed as the
|
<filename>/etc/group</filename>, the value will be displayed as the
|
||||||
numerical group value. The optional <emphasis
|
numerical group value. The optional <replaceable>user</replaceable>
|
||||||
remap='I'>user</emphasis> parameter will display the groups for the
|
parameter will display the groups for the named user.
|
||||||
named <emphasis remap='I'>user</emphasis>.
|
|
||||||
</para>
|
</para>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
<refsect1 id='note'>
|
<refsect1 id='note'>
|
||||||
<title>NOTE</title>
|
<title>NOTE</title>
|
||||||
<para>
|
<para>
|
||||||
Systems which do not support concurrent group sets will have the
|
Systems which do not support supplementary groups (see <citerefentry>
|
||||||
|
<refentrytitle>initgroups</refentrytitle><manvolnum>3</manvolnum>
|
||||||
|
</citerefentry>) will have the
|
||||||
information from <filename>/etc/group</filename> reported. The user
|
information from <filename>/etc/group</filename> reported. The user
|
||||||
must use <command>newgrp</command> or <command>sg</command> to change
|
must use <command>newgrp</command> or <command>sg</command> to change
|
||||||
his current real and effective group ID.
|
his current real and effective group ID.
|
||||||
@ -98,6 +99,9 @@
|
|||||||
</citerefentry>,
|
</citerefentry>,
|
||||||
<citerefentry>
|
<citerefentry>
|
||||||
<refentrytitle>getuid</refentrytitle><manvolnum>2</manvolnum>
|
<refentrytitle>getuid</refentrytitle><manvolnum>2</manvolnum>
|
||||||
|
</citerefentry>,
|
||||||
|
<citerefentry>
|
||||||
|
<refentrytitle>initgroups</refentrytitle><manvolnum>3</manvolnum>
|
||||||
</citerefentry>.
|
</citerefentry>.
|
||||||
</para>
|
</para>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
@ -55,8 +55,9 @@
|
|||||||
have a corresponding entry in <filename>/etc/passwd</filename> or
|
have a corresponding entry in <filename>/etc/passwd</filename> or
|
||||||
<filename>/etc/group</filename>, the value will be displayed without
|
<filename>/etc/group</filename>, the value will be displayed without
|
||||||
the corresponding name. The optional <option>-a</option> flag will
|
the corresponding name. The optional <option>-a</option> flag will
|
||||||
display the group set on systems which support multiple concurrent
|
display the group set on systems which support supplementary groups
|
||||||
group membership.
|
(see <citerefentry><refentrytitle>initgroups</refentrytitle>
|
||||||
|
<manvolnum>3</manvolnum></citerefentry>).
|
||||||
</para>
|
</para>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
@ -89,6 +90,9 @@
|
|||||||
</citerefentry>,
|
</citerefentry>,
|
||||||
<citerefentry>
|
<citerefentry>
|
||||||
<refentrytitle>getuid</refentrytitle><manvolnum>2</manvolnum>
|
<refentrytitle>getuid</refentrytitle><manvolnum>2</manvolnum>
|
||||||
|
</citerefentry>,
|
||||||
|
<citerefentry>
|
||||||
|
<refentrytitle>initgroups</refentrytitle><manvolnum>3</manvolnum>
|
||||||
</citerefentry>
|
</citerefentry>
|
||||||
</para>
|
</para>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
Loading…
Reference in New Issue
Block a user