Secure > Quick reference to user IDs, passwords, and Web addresses
Generate WebSphere Commerce encrypted passwords
You can generate encrypted passwords in order to manually reset the password of a user from a command line. There are other tools (such as the ResetPassword command) that accomplish the same task.
To manually reset the password, the administrator would take the encrypted password that is output by the utilities and update the LOGONPASSWORD field of the USERREG table. The administrator would also update the SALT field of the USERREG table with the chosen salt.
Procedure
- Go to the following directory:
- WC_INSTALL/bin
- WC_INSTALL\bin
- Run the wcs_password to generate the encrypted password.
- To change the encrypted password for customers, use the chgwcspwd.sh command.
- Start a Qshell session.
- Navigate to the following directory: WC_INSTALL/bin
- Run the following script: chgwcspwd.sh (The usage parameters will be displayed.)
- Run the command again using the appropriate parameters.
Related concepts
Quick reference to user IDs, passwords, and Web addresses
Related reference