Sun Desktop Manager 1.0 管理指南

刪除

刪除設定檔。

語法

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

--name=<profile name>:要刪除的設定檔名稱。此為必要選項。若在該層中沒有設定檔,或有多個設定檔具有此名稱和此範圍,則指令會發生錯誤並結束。

--scope=<user|host>:設定檔的範圍,可以是使用者或主機。若未指定,則預設為使用者範圍。

--entity=<entity>:設定檔所在的元素。若未指定,則預設為根組織或網域元素,視 --scope 選項而定。


範例 3–3 刪除設定檔

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

刪除位於根網域的「renamedNewHostProfile1」設定檔。