Java Desktop System Configuration Manager Release 1.1 Administration Guide

Delete

Deletes a policy group.

Syntax

delete [--username=<name>] [--name=<policy group name>] [--scope=<user/host>] [--entity=<entity name>]

--username=<name> : the username of the administrator in the format used by the configuration repository, for example "jmonroe".

--name=<policy group name> : this specifies the name of the policy group to be deleted. This option is not used with the --entity option as entity policy groups have restricted default names. If the policy group does not exist or if it cannot be uniquely identified then the command exits with an error.

--scope=<user/host> : specifies the scope for the policy group, which can either be user or host. If not specified then defaults to the user scope.

--entity=<entity name> : the entity where the policy group is stored. If this option is not specified then the policy group is part of the policy group repository. This option is not used with the --name option, since entity policy groups have restricted default names.


Example 3–3 Deleting a policy group

% pgtool delete --username=jmonroe --scope=host --name=renamedNewHostGroup1

Deleted the “renamedNewHostGroup1” policy group.