专业化管理 > 配置您的 Windchill 环境 > 配置密码管理选项 > 系统密码加密选项 > 使用 EncryptPasswords.xml 脚本
  
使用 EncryptPasswords.xml 脚本
PTC 提供的通用 EncryptPasswords.xml 脚本可用于对密码进行加密。
* 
Windchill 服务器上工作时,请始终从 Windchill shell 执行 EncryptPasswords.xml 脚本。
输入 EncryptPasswords.xml 脚本所采用的通用格式如下:
ant -f <Windchill>/bin/adminTools/sip/EncryptPasswords.xml
<target> [optional_arguments]
其中:
<Windchill>Windchill 安装目录。
<target> 是要执行的目标。
[optional_arguments] 是目标所需的自变量。一些目标不需要任何自变量。
要获取可用目标的简短说明,请输入包含 -projecthelp 目标的脚本。下面是可用目标的列表:
addValueToKeyStore
changeKeystoreEncryption
encryptAllPasswords
encryptPw
encryptWVSCADAgent
encryptWVSWorkerAgent
recreateKeyStore
recreateKeyStoreForAdapter
有关 encryptAllPasswords 目标的说明,请参阅加密 Windchill 系统密码
有关对 WVS 文件中的密码进行加密的目标说明,请参阅加密验证密码加密工作器代理密码
有关 changeKeystoreEncryption 目标的说明,请参阅更改密钥库文件加密
其他目标将在以下各节中加以介绍。