chgwcspwd command

iSeries The chgwcspwd command changes the encrypted password for users. (It is only available on OS/400.)

Command structure

Diagram of the command structure: the command starts with the fully qualified name of your WebSphere Commerce Server and the configuration path, followed by the command name, chgwcspwd  and the ? character. End the command with a list of parameters in the form of name value pairs. Separate each name value pair with the & character. For a detailed description of the parameters and their values, refer to the list entitled Parameter values.

Parameter values

database
The name of the target relational database as displayed in the relational database directory.
schema_name
The name of target database schema. This name is normally the same as the WebSphere Commerce instance name (for example, demo).
instance_name
The WebSphere Commerce instance name (for example, demo).
instancePwd
The password for the WebSphere Commerce instance.
merKey
The WebSphere Commerce merchant key.
wcsUser
The WebShere Commerce user ID.
wcsUserPwd
The password for the WebSphere Commerce user ID.
oneWayHash
WebSphere Commerce 5.5 uses one way hash for password encryption. The default value of the parameter is "true". It is recommended that you use the default value for this parameter.

Example

The following example shows you how to use the command to change the encrypted password for a user named customer1:

chgwcspwd.sh -database demo -schema demo -instance demo -instancePwd mypassword 
                      -merKey 1234567890abcdef -wcsUser customer1 -wcsUserPwd customer1pwd 

Behavior

Resets the password of a WebSphere Commerce user.