(Developer)
Reset the wcsadmin user password
Resetting the wcsadmin user account password in the toolkit environment.
Task info
By default the administrator logon id and password are wcsadmin. We can reset the password for the wcsadmin user if the following statements are true:
- You are using a new instance, not a migrated instance.
- You did not change the merchant key from its default value.
After the wcsadmin user password is reset, the password becomes expired and must be changed the next time the wcsadmin user logs on.
Procedure
- Stop your test environment.
- From a command window, navigate to the WCDE_installdir\bin directory, where WCDE_installdir is the installation directory of the development environment.
- Depending on the database, perform the following steps:
- (DB2) Connect to the database.
- Enter the following SQL statements in order:
update userreg set logonpassword = x'74434f61354f51593862415655304d5268424e54723865685653356151374a2b353163506c4261363730633d202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020' where logonid='wcsadmin'; update userreg set salt = 'hsdbacehyoyn' where logonid='wcsadmin'; update userreg set status = 1 where logonid='wcsadmin'; update userreg set passwordexpired = 0 where logonid='wcsadmin';
- Type exit to close the DB2 command window.
- (Oracle) Open an SQLPlus command window using the user name and password for the WebSphere Commerce database.
- Enter the following SQL statements in order:
update userreg set logonpassword = '74434f61354f51593862415655304d5268424e54723865685653356151374a2b353163506c4261363730633d202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020' where logonid='wcsadmin'; update userreg set salt = 'hsdbacehyoyn' where logonid='wcsadmin'; update userreg set status = 1 where logonid='wcsadmin'; update userreg set passwordexpired = 0 where logonid='wcsadmin'; commit;
- Exit from the SQLPlus command window.
- Log in using the reset wcsadmin user. The password for the wcsadmin user is reset to wcsadmin. When you log in, change the password for the wcsadmin user.
Related concepts
Quick reference to user IDs, passwords, and Web addresses
Related tasks
Resetting a Site Administrator's account
Resetting non-Site Administrator accounts
Resetting the wcsadmin user password (runtime)
Enable password reset messages