save_local_group_profile
Use the save_local_group_profile
command to save the currently selected local UNIX or Linux group object after you create the group object or edit profile field values in the group object.
Whenever you execute the new_local_group_profile
or select_local_group_profile
command, the group continues to be selected until you execute the save_local_group_profile
command.
You can save a group object before the group profile is complete. However, the group profile is not added to /etc/group
on each UNIX and Linux computer in the zone until the group profile is complete and the profileflag
field is set to 1
(enabled). See new_local_group_profile for details about which attributes a group profile must have to be considered complete.
Zone type
Hierarchical only.
Syntax
save_local_group_profile
Abbreviation
svlgp
Options
This command takes no options.
Arguments
This command takes no arguments.
Return value
This command returns nothing if it runs successfully.
Examples
The following example saves the currently selected object for the local UNIX or Linux group in the currently selected zone.
save_local_group_profile
For example, earlier you might have executed the following command to select the marketing
group object so that you could edit its profile fields:
select_local_group_profile marketing
Executing the following command would save any changes you had made to the marketing
group object:
save_local_group_profile
Related commands
The following related ADEdit commands let you view and administer local UNIX and Linux users and groups that have profiles defined in the current zone:
- delete_local_group_profile deletes a local UNIX or Linux group that has a profile defined in the current zone.
- delete_local_user_profile deletes a local UNIX or Linux user that has a profile defined in the current zone.
- get_local_group_profile_field displays the value of a profile field for the currently selected local UNIX or Linux group that has a profile defined in the current zone.
- get_local_groups_profile displays a TCL list of profiles for local groups that are defined in the current zone.
- get_local_user_profile_field displays the value of a profile field for the currently selected local UNIX or Linux user that has a profile defined in the current zone.
- get_local_users_profile displays a TCL list of profiles for local users that are defined in the current zone.
- list_local_groups_profile displays a list of local UNIX and Linux groups that have a profile defined in the current zone.
- list_local_users_profile displays a list of local UNIX and Linux users that have a profile defined in the current zone.
- new_local_group_profile creates an object for a local UNIX or Linux group in the currently selected zone.
- new_local_user_profile creates an object for a local UNIX or Linux user in the currently selected zone.
- save_local_user_profile saves the currently selected local UNIX or Linux user object after you create the user object or edit profile field values in the user object.
- select_local_group_profile selects a local UNIX or Linux group object for viewing or editing.
- select_local_user_profile selects a local UNIX or Linux user object for viewing or editing.
- set_local_group_profile_field sets the value of a field for the currently selected local UNIX or Linux group that has a profile defined in the current zone.
- set_local_user_profile_field sets the value of a field for the currently selected local UNIX or Linux user that has a profile defined in the current zone.