save_local_user_profile

Use the save_local_user_profile command to save the currently selected local UNIX or Linux user object after you create the user object or edit profile field values in the user object.

Whenever you execute the new_local_user_profile or select_local_user_profile command, the user continues to be selected until you execute the save_local_user_profile command.

You can save a user object before the user profile is complete. However, the user profile is not added to /etc/passwd on each UNIX and Linux computer in the zone until the user profile is complete, the profileflag field is set to 1 (enabled) or 2 (disabled), and the user is assigned a visible role such as local listed. See new_local_user_profile for details about which attributes a user profile must have to be considered complete.

Zone type

Hierarchical only.

Syntax

save_local_user_profile

Abbreviation

svlup

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 user in the currently selected zone.

save_local_user_profile

For example, earlier you might have executed the following command to select the object for UNIX user anton.splieth so that you could edit its profile fields:

select_local_user_profile anton.splieth

Executing the following command would save any changes you had made to the user object for anton.splieth:

save_local_user_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: