get_zone_group_field command to return the value for a specified field from the currently selected zone group stored in memory. The
get_zone_group_field command does not query Active Directory for the zone group. If you change field values using ADEdit without saving the zone group to Active Directory, the field value you retrieve using
get_zone_group_field won’t match the same field value for the zone group stored in Active Directory.
Classic and hierarchical
This command takes no options.
This command takes the following argument:
Required. Specifies the case-sensitive name of the field whose value to retrieve. The possible values are:
You can also specify AIX extended attributes as the field to get an extended attribute value for a group. Extended attribute fields start with the aix. prefix. For example, the admin extended attribute can be retrieved by specifying aix.admin as the field.
This command returns a field value. The data type depends on the field specified.
The following example returns the group name.
If the current group is on AIX, you can get AIX group extended attributes and values. For example, to find out if the current group is an administrative group, you can get the
admin extended attribute:
Before you use this command, you must have a currently selected zone group stored in memory. The following commands enable you to view and manage the zone groups:
- list_zone_groups lists to
stdoutthe zone groups in the current zone.
- new_zone_group creates a new zone group and stores it in memory.
- select_zone_group retrieves a zone group from Active Directory and stores it in memory.
After you have a zone group stored in memory, you can use the following commands to work with that zone group: