为元素取消指定配置文件。
语法
remove [--scope=<user|host>] [--entity=<entity>] <profile name> <target entity>
--scope=<user|host>:配置文件的范围,可以是用户或主机。如果未指定,则默认范围为用户。
--entity=<entity>:配置文件所在的元素。如果未指定,则默认为根组织或根域中的元素(由 --scope 选项确定)。
<profile name>:要为目标元素取消指定的配置文件的名称。
<target entity>:要取消指定配置文件的元素。
% pgtool remove UserProfile1 cn=Role1,o=staff,o=apoc
为元素 "cn=Role1,o=staff,o=apoc" 取消指定位于根组织中的配置文件 "UserProfile1" 。