IBM Enterprise Records, 版本 5.1.+              

storePasswords 指令

storepasswords 指令會提示設定檔中的空白密碼,並將已加密的密碼儲存在檔案中。 儲存已加密密碼不一定符合 FIPS 140-2。 您可以對設定檔中的單一作業或所有作業執行該指令。 指令名稱不區分大小寫。

storePasswords 指令語法

下列語法包括換行,將指令格式化以方便閱讀。 在同一行輸入指令和選項,且沒有換行。

提示: 如果 storePasswords 指令提示您將密碼儲存在磁碟的配置檔中,您必須回應 yesno(而不是 yn)。 在您執行 storePasswords 指令之後,如果您在「配置管理程式」的 GUI 版本中開啟配置 XML,則密碼會以點顯示在密碼檔中。
configmgr_cl.exe storePasswords [-task task_type 
| -taskfile task_file_name] -profile 
myprofile [-debug] [-help]

storePasswords 指令參數

-task task_type
-task task_type 參數指定要將密碼加密的特定作業。 如果您想要儲存所有作業的密碼,或您指定 -taskfile task_file_name 參數,則可省略 -task task_type 參數。 作業類型名稱是以 listTasks 指令報告。
-taskfile task_file_name
-taskfile task_file_name 參數指定要使用的配置 XML 檔。 task_file_name 值不區分大小寫。 作業檔名是以 listTasks 指令報告。
您使用 -task-taskfile 來指定要新增加密密碼的作業。 如果 -task-taskfile 都未指定,則指令會提示您在設定檔的所有作業中新增密碼。
-profile myprofile
-profile myprofile 參數指定要使用的設定檔。 myprofile 值可以是下列其中一個項目:
檔案的名稱,例如 WebApplicationDeploymentFile。 設定檔必須位於 ier_install_path\EnterpriseRecords\configure\profiles 目錄中,其中 ier_install_path 是安裝 IBM® Enterprise Records 軟體的位置。
設定檔目錄的絕對路徑,例如
"C:\Program Files\IBM\EnterpriseRecords\configure\profiles
\WebApplicationDeploymentFile"
opt/IBM/EnterpriseRecords/configure/profiles/WebApplicationDeploymentFile
..\profiles 資料夾的相對路徑。
重要: 如果路徑包括的目錄名稱有空格,請以引號括住整個路徑。 例如,"C:\Program Files\IBM\EnterpriseRecords\configure\profiles\WebApplicationDeploymentFile"
-debug
-debug 參數啟用指令的記載功能。
限制: 在 HP-UX 安裝架構中,不支援這個參數。
-help
-help 顯示指令說明。

storePasswords 指令範例

加密及儲存設定檔的所有密碼。
下列指令針對名稱為 WebApplicationDeploymentFile 的設定檔中的任何空白項目加密及儲存密碼。
configmgr_cl.exe storePasswords -profile WebApplicationDeploymentFile
針對設定檔中特定的 configurewepsphereapplicationserver 作業加密及儲存密碼。
下列指令針對名稱為 WSWebApplicationDeploymentFile 的設定檔的 configurewebsphereapplicationserver.xml 檔中的任何空白項目加密及儲存密碼。
configmgr_cl.exe storePasswords -taskfile 
configurewebsphereapplicationserver.xml 
-profile WSWebApplicationDeploymentFile
顯示 storepasswords 指令的說明。
下列指令顯示 storepasswords 指令的說明:
configmgr_cl.exe storePasswords -help


意見

前次更新: 2011 年 8 月


© Copyright IBM Corp. 2011.
此資訊中心採用 Eclipse 技術。(http://www.eclipse.org)