The chgwcspwd command changes the encrypted password
for users. (It is only available on OS/400.)
Command structure
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.