groups(1)
NAME
groups − print group membership of user
SYNOPSIS
groups [ user ]
DESCRIPTION
The command groups prints on standard output the groups to which you or the optionally specified user belong. Each user belongs to a group specified in /etc/passwd and possibly to other groups as specified in /etc/group.
In CX/SX, only the super-user may specify a user’s name as an argument. If the system is configured to B1 security, this command is not available. In that case the lspriv command should be used.
SEE ALSO
setgroups(2), id(1), labels(1SX), lspriv(1SX), group(4), passwd(4).
FILES
/etc/passwd
/etc/group
/mls/group
/mls/levels
/mls/categories
DIAGNOSTICS
"Permission denied."
The user attempted to perform an action reserved for another user or for superuser.
CX/UX User’s Reference Manual