從元素取消指定設定檔。
語法
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
位在根組織中的設定檔「UserProfile1」已從元素「cn=Role1,o=staff,o=apoc」中取消指定。