Java Desktop System Configuration Manager Release 1.1 Administration Guide

Add

Assigns a policy group from the policy group repository to an entity.

Syntax

add [--username=<name>] [--scope=<user/host>] <name> <entity>

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

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

<name> : this specifies the name of the policy group to be assigned to the entity.

<entity> : the entity name is specified in the format used by the storage back end, for example with the LDAP back end the entity is specified using a distinguished name.


Example 3–1 Adding a policy group to an entity

% pgtool add --username=jmonroe UserPolicyGroup1 cn Role1,o=staff,o=apoc

User “jmonroe” assigned the policy group “UserPolicyGroup1” to the entity “cn=Role1,o=staff,o=apoc”.