groups Command Purpose Displays group membership. Syntax groups [ User ] Description The groups command without a User parameter writes to standard output the group membership of the current process. If the User parameter is specified, then the group membership for that User is displayed. The groups command does not run successfully if the specified user does not exist or if it cannot read the user or group infor- mation. Security Access Control: This program should be installed as a normal user program in the Trusted Computing Base. Examples To display your current group membership, enter: groups Implementation Specifics This command is part of Base Operating System (BOS) Runtime. Files /usr/bin/groups groups command /usr/ucb/groups Symbolic link to the groups command /etc/group Group file; contains group IDs /etc/ogroup Previous version of the group file /etc/passwd Password file; contains user IDs /etc/opasswd Previous version of the password file. Related Information The getty command, the login command, the setgroups command, the su command, and the tsm command.