groupInfo
Print some basic information about a group
usage
--osh groupInfo <--group GROUP|--all> [OPTIONS]
- --group GROUP
Specify the group to display the info of
- --all
Dump info for all groups (auditors only), use with
--json
- --with[out]-everything
Include or exclude all below options, including future ones
- --with[out]-keys
Whether to include the group keys list (slow-ish, default: yes)
Usage examples
Show info about a specific group:
--osh groupInfo --group mygroup2
Gather info about all groups, with no extra data except their keys:
--osh groupInfo --all --without-everything --with-keys --json
Gather info about all groups, including all extra data (and possibly future options):
--osh groupInfo --all --with-everything --json
Output example
The first paragraph of the output lists the different roles along with the people having these roles.
You can also see the public egress key of this group, i.e. the key that needs to be added to the remote servers' authorized_keys
files, so that members
of this group can access these servers.
Note that if you want to see the list of servers pertaining to this group, you can use the command groupListServers
.