opensolaris man page for groups

Query: groups

OS: opensolaris

Section: 1b

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

groups(1B)					     SunOS/BSD Compatibility Package Commands						groups(1B)

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
ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscpu | +-----------------------------+-----------------------------+
SEE ALSO
getgroups(2), attributes(5)
NOTES
This command is obsolete. SunOS 5.11 14 Sep 1992 groups(1B)
Related Man Pages
grpck(1b) - opensolaris
group(4) - osf1
grpck(1b) - sunos
grpck(1b) - mojave
grpck(1b) - bsd
Similar Topics in the Unix Linux Community
sudoers file with groups in LDAP
Secondary group info source
Assign zero to strings that don't appear in block, store result in AWK array
Creating groups and users
Groups is not visible