xref: /illumos-gate/usr/src/man/man1b/groups.1b (revision 8c69cc8fbe729fa7b091e901c4b50508ccc6bb33)
te
Copyright (c) 1988 Sun Microsystems, Inc. - All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
GROUPS 1B "Sep 14, 1992"
NAME
groups - display a user's group memberships
SYNOPSIS

/usr/ucb/groups [user]...
DESCRIPTION

With no arguments, groups displays the groups to which you belong; else it displays the groups to which the user belongs. Each user belongs to a group specified in the password file /etc/passwd and possibly to other groups as specified in the file /etc/group. If you do not own a file but belong to the group which it is owned by then you are granted group access to the file.

FILES
/etc/passwd

/etc/group

SEE ALSO

getgroups(2), attributes(5)

NOTES

This command is obsolete.