| GROUPINFO(8) | System Manager's Manual | GROUPINFO(8) |
groupinfo —
display group information
groupinfo |
[-e] group |
The groupinfo utility displays the name,
group ID (GID), and members of the specified
group.
The options are as follows:
-eThe group argument may be either a group name or a GID.
The groupinfo utility exits 0 if
group exists, and non-zero if it does not.
The groupinfo utility first appeared in
OpenBSD 2.7.
The groupinfo utility was written by
Alistair G. Crooks
<agc@NetBSD.org>.
If the specified group is the primary group
of a user, but that user is not listed as a member of the
group in the
group(5) file, the
groupinfo utility fails to list that user as a
member of the group.
| November 29, 2016 | openbsd |