Sun Desktop Manager 1.0 Administration Guide

Delete

Deletes a profile.

Syntax

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

--name=<profile name> : the name of the profile to be deleted. This option is mandatory. 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.

--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.


Example 3–3 Deleting a profile

% pgtool delete --scope=host --name=renamedNewHostProfile1

Deleted the “renamedNewHostProfile1” profile located in root domain.