Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ groups(1) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

newgrp

groups

PURPOSE

     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 AIX Oper-
     ating  System  allows you  to  belong  to many  different
     groups at the same time.
     Your primary group is  specified in the file /etc/passwd.
     Once you are logged in,  you can change your active group
     with the newgrp command (see  page 642).  When you create
     a file, its group ID is that of your active group.
     Other groups that you belong to are specified in the file
     /etc/group.  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.

     Note:  The /etc/passwd and  /etc/opasswd files must be on
     the same node.

FILES

     /etc/group      Group file; contains group ids.
     /etc/passwd     Password file; contains user ids.
     /etc/opasswd    Previous version of the password file.

RELATED INFORMATION

     The following command:  "newgrp."
     The setgroups  system call and the  initgroups subroutine
     in AIX Operating System Technical Reference.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026