IBM Enterprise Records, Version 5.1.+              

storePasswords command

The storepasswords command prompts for passwords that are blank in a profile and stores the encrypted passwords in the file. Storing encrypted passwords might not be FIPS 140-2 compliant. You can run the command for a single task or for all tasks in the profile. The command name is not case sensitive.

storePasswords command syntax

The following syntax includes line breaks to format the command for reading. Enter the command and options on a single line, without any line breaks.

Tip: If the storePasswords command prompts you to store passwords in configuration files on disk, you must respond with yes or no (instead of y or n). After you run the storePasswords command, if you open the configuration XML in the GUI version of Configuration Manager, the password is displayed on the password filed as dots.
configmgr_cl.exe storePasswords [-task task_type 
| -taskfile task_file_name] -profile 
myprofile [-debug] [-help]

storePasswords command parameters

-task task_type
The -task task_type parameter specifies a specific task to encrypt passwords for. You can omit the -task task_type parameter if you want to store passwords for all the tasks or if you specify the -taskfile task_file_name parameter. Task type names are reported by the listTasks command.
-taskfile task_file_name
The -taskfile task_file_name parameter specifies the configuration XML file to use. The task_file_name value is not case sensitive. Task file names are reported by the listTasks command.
You use either -task or -taskfile to specify the task to add encrypted passwords. if neither -task or -taskfile is specified, the command prompts you to add passwords in all tasks in the profile.
-profile myprofile
The -profile myprofile parameter specifies the profile to use. the myprofile value can be one of the following items:
The name of the file, such as WebApplicationDeploymentFile. The profile must be located in the ier_install_path\EnterpriseRecords\configure\profiles directory, where ier_install_path is the location where IBM® Enterprise Records software is installed.
The absolute path to the profile directory, such as
"C:\Program Files\IBM\EnterpriseRecords\configure\profiles
\WebApplicationDeploymentFile"
or
opt/IBM/EnterpriseRecords/configure/profiles/WebApplicationDeploymentFile
or relative path to the ..\profiles folder.
Important: If the path includes a directory name with spaces, enclose the entire path in quotation marks. For example, "C:\Program Files\IBM\EnterpriseRecords\configure\profiles\WebApplicationDeploymentFile"
-debug
The -debug parameter enables logging for the command.
Restriction: This parameter is not supported on HP-UX installations.
-help
The -help displays the command help.

storePasswords command examples

Encrypt and save all passwords for a profile.
The following command encrypts and saves passwords for any blank entries in the profile named WebApplicationDeploymentFile.
configmgr_cl.exe storePasswords -profile WebApplicationDeploymentFile
Encrypt and save the passwords for a specific configurewepsphereapplicationserver task in a profile.
The following command encrypts and saves passwords for any blank entries in the configurewebsphereapplicationserver.xml file from the profile named WSWebApplicationDeploymentFile.
configmgr_cl.exe storePasswords -taskfile 
configurewebsphereapplicationserver.xml 
-profile WSWebApplicationDeploymentFile
Display the help for the storepasswords command.
The following command displays the help for the storepasswords command:
configmgr_cl.exe storePasswords -help


Feedback

Last updated: August 2011


© Copyright IBM Corporation 2011.
This information center is powered by Eclipse technology. (http://www.eclipse.org)