osf1 man page for groups

Query: groups

OS: osf1

Section: 1

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

groups(1)						      General Commands Manual							 groups(1)

NAME
groups - Displays your group membership
SYNOPSIS
groups [user]
DESCRIPTION
The groups command writes to standard output the groups to which you or the specified user belong. The Tru64 UNIX operating system allows a user to belong to many different groups at the same time. Your primary group is specified in the /etc/passwd file. Once you are logged in, you can change your active group with the newgrp shell command (see sh). When you create a file, its group ID is that of your active group. Other groups that you belong to are specified in the /etc/group file. If you belong to more than one group, you can access files belonging to any of those groups without changing your primary group ID. These are called your concurrent groups.
NOTES
The /etc/passwd and /etc/group files must be on the same node.
EXAMPLES
To determine your group membership, enter: groups The groups to which you belong will be displayed. For example: devel prod
FILES
Contains group information. Contains user information.
SEE ALSO
Commands: csh(1), ksh(1), sh(1) Functions: initgroups(3), setgroups(2) groups(1)
Related Man Pages
groups(1b) - opensolaris
listusers(1) - hpux
initgroups(3) - osf1
group(4) - osf1
getgrouplist(3) - freebsd
Similar Topics in the Unix Linux Community
Hi Gollum
Split these into many ...(/etc/group)!!
Removing users from groups
Sorting group information for accounts
Grouping and counting