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"。