1 <?xml version="1.0" encoding="UTF-8"?>
2 <refentry id='groups.1'>
3 <!-- $Id: groups.1.xml,v 1.16 2006/05/20 12:11:38 kloczek Exp $ -->
5 <refentrytitle>groups</refentrytitle>
6 <manvolnum>1</manvolnum>
7 <refmiscinfo class="sectdesc">User Commands</refmiscinfo>
10 <refname>groups</refname>
11 <refpurpose>display current group names</refpurpose>
14 <refsynopsisdiv id='synopsis'>
16 <command>groups</command>
18 <replaceable>user</replaceable>
23 <refsect1 id='description'>
24 <title>DESCRIPTION</title>
26 <command>groups</command> displays the current group names or ID
27 values. If the value does not have a corresponding entry in
28 <filename>/etc/group</filename>, the value will be displayed as the
29 numerical group value. The optional <emphasis
30 remap='I'>user</emphasis> parameter will display the groups for the
31 named <emphasis remap='I'>user</emphasis>.
38 Systems which do not support concurrent group sets will have the
39 information from <filename>/etc/group</filename> reported. The user
40 must use <command>newgrp</command> or <command>sg</command> to change
41 their current real and effective group ID.
49 <term><filename>/etc/group</filename></term>
51 <para>Group account information.</para>
57 <refsect1 id='see_also'>
58 <title>SEE ALSO</title>
61 <refentrytitle>newgrp</refentrytitle><manvolnum>1</manvolnum>
64 <refentrytitle>getgid</refentrytitle><manvolnum>2</manvolnum>
67 <refentrytitle>getgroups</refentrytitle><manvolnum>2</manvolnum>
70 <refentrytitle>getuid</refentrytitle><manvolnum>2</manvolnum>