linux-user-groups

Retrieves a list of users belonging to the root and wheel groups by group.

Syntax

linux-user-groups

Description

After running the linux-user-groups command, the output fields are as follows:

Output Fields

FieldTypeDescription
gidIntegerGroup ID
groupStringGroup name
usersStringUsers in the group