FileNet P8 Content Engine, 版本 5.0.+              

storepasswords 命令

storepasswords 命令提示输入在概要文件中为空的密码并将经过加密的密码存储在该文件中。存储经过加密的密码可能不符合 FIPS 140-2。可以对单一任务运行此命令,也可以对概要文件中的所有任务运行此命令。命令名不区分大小写。

storepasswords 命令语法

为了便于您阅读,以下命令语法分行显示。您在输入命令和选项时,请勿换行。

提示: 如果 storepasswords 命令提示您将密码存储在磁盘上的配置文件中,那么您必须响应 yesno(而不是 yn)。
configmgr_cl storepasswords [-task task_type | -taskfile task_file_name]
 -profile myprofile [-help]

storepasswords 命令参数

-task task_type
-task task_type 参数指定特定的任务,以便对该任务的密码进行加密。如果要存储所有任务的密码,或者指定了 -taskfile task_file_name 参数,那么可以省略 -task task_type 参数。task_name 的值不区分大小写。下表列示了有效的任务名、与其相关联的配置 XML 文件以及有关该任务所影响的 Content Engine 设置的描述。
表 1. task_type 的值
选项 配置文件 描述
省略

applicationserver.xml

configurebootstrap.xml

configurebootstrap.n.xml

configurejdbcgcd.xml

configurejdbcos.xml

configurejdbcos.n.xml

configureldap.xml

configureldap.n.xml

deployapplication.xml

其中,n 是起始于 2 的整数

如果省略了 -task task_type 参数和 -taskfile task_file_name 参数,那么将提示您为概要文件中的每个配置 XML 文件输入密码。在将每个密码添加到 XML 文件之前,都将对其进行加密。
configurebootstrap

configurebootstrap.xml

configurebootstrap.n.xml,其中 n 是起始于 2 的整数

对用于创建全局配置数据和启动 Content EngineBootstrapPassword 属性的密码进行加密。

如果有多个 configurebootstrap.n.xml 文件,请对每个任务文件运行此命令。

configurejdbcgcd

configurejdbcgcd.xml

Content Engine 用于访问 GCD 数据库的 DatabasePassword 属性的密码进行加密。

configurejdbcos

configurejdbcos.xml

configurejdbcos.n.xml,其中 n 是起始于 2 的整数

Content Engine 用于访问对象存储库数据库的 DatabasePassword 属性的密码进行加密。

如果有多个 configurejdbcos.n.xml 文件,请对每个任务文件运行此命令。

configureldap

configureldap.xml

configureldap.n.xml,其中 n 是起始于 2 的整数

Content Engine 用于连接到目录服务器以认证 Content Engine 用户的 LDAPBindPassword 属性的密码进行加密。

(仅限于 WebSphere® Application ServerOracle WebLogic Server。)如果有多个 configureldap.n.xml 文件,请对每个任务文件运行此命令。

-taskfile task_file_name
-taskfile task_file_name 参数指定要使用的配置 XML 文件。

对于指定的 task_type,如果只存在一个任务文件,那么 -taskfile task_file_name 参数是可选的。

对于指定的 task_type,如果存在多个任务文件,那么必须指定 -taskfile task_file_name 参数。如果指定了 -taskfile task_file_name 参数,那么可以省略 -task task_type 参数。

-profile myprofile
-profile myprofile 参数指定要使用的概要文件。myprofile 值可以是下列其中一项:
  • 概要文件的名称,例如 ce_was_tiv_db2。此概要文件必须位于 ce_install_path/tools/configure/profiles 目录中,其中 ce_install_pathContent Engine 软件的安装位置。
  • 概要文件目录的绝对路径,例如 "C:\Program Files\IBM\FileNet\ContentEngine\tools\configure\profiles\ce_was_tiv_db2"opt/IBM/FileNet/ContentEngine/tools/configure/profiles/ce_was_tiv_db2
  • 概要文件输入文件的绝对路径,例如 "C:\Program Files\IBM\FileNet\ContentEngine\tools\configure\profiles\ce_was_tiv_db2\ce_was_tiv_db2.cfg"opt/IBM/FileNet/ContentEngine/tools/configure/profiles/ce_was_tiv_db2/ce_was_tiv_db2.cfg
切记: 如果此路径包含带有空格的目录名,请将整个路径括在引号中。例如,输入 "C:\Program Files\IBM\FileNet\ContentEngine\tools\configure\profiles\ce_was_tiv_db2\ce_was_tiv_db2.cfg"

storepasswords 命令示例

对概要文件的所有密码进行加密并保存。
以下命令对概要文件 wstdb2jdbc_one 中的任何空条目的密码进行加密并保存。
configmgr_cl storepasswords -profile wstdb2jdbc_one
对包含多个 configurejdbcos 任务的概要文件中的特定 configurejdbcos 任务的密码进行加密并保存。
以下命令对概要文件 wstdb2jdbc_many 中 configurejdbcos.2.xml 文件中的任何空条目的密码进行加密并保存。
configmgr_cl storepasswords -taskfile configurejdbcos.2.xml 
-profile wstdb2jdbc_many
显示 storepasswords 命令的帮助。
以下命令显示 storepasswords 命令的帮助:
configmgr_cl storepasswords -help


反馈

最近一次更新时间: 2010 年 11 月


© Copyright IBM Corporation 2010.
本信息中心基于 Eclipse 技术。(http://www.eclipse.org)