set_zone_group_field command to set the value for a specified field in the currently selected zone group stored in memory. The
set_zone_group_field command does not set a field value stored in Active Directory for the selected zone group.
If you change any fields, you must save the zone group using the save_zone_group command for your changes to take effect in Active Directory. If you select another zone group or end the ADEdit session before saving the currently selected zone group, your changes will be lost.
Classic and hierarchical
set_zone_group_field field value
This command takes no options.
This command takes the following arguments:
Required. Specifies the name of the field that you want to set. The possible values are:
You can also specify AIX extended attributes as the field to set an extended attribute value for a group. Extended attribute fields start with the
Required. Specifies the value to assign to the specified field. The data type depends on the field specified.
In some cases, you can assign a dash (-) to a field to unset the field value. However, this is not supported for all fields or all zone types.
This command returns nothing if it runs successfully.
The following example sets the current zone group’s UNIX group name to
set_zone_group_field name managers
If the current group is on AIX, you can set AIX group extended attributes and values. For example, to identify the current group as an administrative group, you can set the
admin extended attribute:
set_zone_group_field aix.admin true
Before you use this command, you must have a currently selected zone stored in memory. The following commands enable you to view and select zone groups:
- get_zone_groups returns a Tcl list of the Active Directory names of all zone groups in the current zone.
- 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: