Sun Desktop Manager 1.0 Administration Guide

Modify

Changes the priority of a profile.

Syntax

modify [--scope=<user|host>] [--entity=<entity>] <profile name> <priority>

--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 name of the profile to change priority to. If no profile or more than one profile with this name and this scope can be found at this layer, then the command exits with an error.

<priority> : a strictly positive integer specifying the priority of the profile. If the priority specified is the same as that of an existing profile of this scope at this layer, then the command exits with an error.


Example 3–8 Changing the priority of a profile

% pgtool modify UserProfile1 15

Changed the priority of “UserProfile1”, located in root organization, to 15.