Sun Desktop Manager 1.0 Administration Guide

Rename

Renames a profile.

Syntax

rename [--scope=<user|host>] [--entity=<entity>] <profile name> <newname>

--scope=<user|host> : the scope for the profile, which can be either user or host. If not specified, then defaults to the user scope.

--entity=<entity> : the element where the profile is located. If not specified, then defaults to root organization or domain element, depending on the --scope option.

<profile name> : the current name of the profile to rename.

<newname> : the new name for the profile. If a profile of this name and scope already exists at the same layer, then the command exits with an error.


Example 3–10 Renaming a profile

% pgtool rename NewUserProfile2 renamedNewUserProfile2

Renamed “NewUserProfile2” located in root organization to “renamedNewUserProfile2”.