Resetting the wcsadmin user account password in the toolkit environment.
About this task
By default the administrator login ID and password are both
wcsadmin.You can reset the password for the wcsadmin user if both
of 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 that 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 your development
environment.
-
Depending on your database type, perform the following steps:
Connect to your database.
- Enter the following SQL statements in
order:
update userreg set logonpassword = x'54754E5431714A6D723871582F597361476A5A78647A38513537357378516A755944386141346C396A714E7165364D344F496B65385432754E6D726B3770437063774D307548727245743172794A727358446A7573773D3D' 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 IBM Db2 command
window.
Open an SQLPlus command window by using the user name and password for your
HCL Commerce database.
- Enter the following SQL statements in
order:
update userreg set logonpassword = '54754E5431714A6D723871582F597361476A5A78647A38513537357378516A755944386141346C396A714E7165364D344F496B65385432754E6D726B3770437063774D307548727245743172794A727358446A7573773D3D' 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 using the default password.
You are prompted to set a new password.
Results
The wcsadmin user password is reset and set to a password of
your choice.