*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> groups (1)              
Title
Content
Arch
Section
 

groups(1)

Contents


NAME    [Toc]    [Back]

       groups - Displays your group membership

SYNOPSIS    [Toc]    [Back]

       groups [user]

DESCRIPTION    [Toc]    [Back]

       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    [Toc]    [Back]

       The  /etc/passwd  and /etc/group files must be on the same
       node.

EXAMPLES    [Toc]    [Back]

       To determine your group membership, enter: groups

       The groups to which you belong  will  be  displayed.   For
       example: devel  prod

FILES    [Toc]    [Back]

       Contains group information.  Contains user information.

SEE ALSO    [Toc]    [Back]

      
      
       Commands:  csh(1), ksh(1), sh(1)

       Functions:  initgroups(3), setgroups(2)



                                                        groups(1)
[ Back ]
 Similar pages
Name OS Title
group IRIX group membership file
groupinfo OpenBSD displays group information
project IRIX project membership file
class_get_class_members Tru64 get the membership information of a class
multgrps IRIX spawn a shell with membership in multiple groups
mtest FreeBSD test multicast membership socket operations and ioctls
env Tru64 Displays or sets the current environment, or displays the values of environment variables
printenv Tru64 Displays or sets the current environment, or displays the values of environment variables
vgrestore HP-UX restore a VxVM disk group back to an LVM volume group
rpccp_remove_group HP-UX Removes all group members and the group from the specified name service entry
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service