For IBM i OS operating systemSolarisLinuxAIXWindows

Resetting the wcsadmin user password (runtime):

You can reset the default wcsadmin user password (calling wcs_password):

About this task

By default the administrator logon ID and password are wcsadmin. You can change the following statements to reflect your administrator logon ID if you change your logon ID from the default logon ID.
Note: If LDAP authentication mode is used, the password for wcsadmin is stored in LDAP. You can either use WebSphere Commerce tools to change the password for wcsadmin or contact an LDAP administrator to update the password through LDAP administration tool or corresponding command lines. To change the password through WebSphere Commerce tools, see Changing a WebSphere Commerce password.

Procedure

  1. Enter the following SQL statement:
     select salt from userreg where logonid='wcsadmin';
    
  2. Run the following command line script from the WC_installdir/bin directory:
     $ wcs_password <password> <salt> <merchant key>;
    
    For example,
     $ wcs_password password hsdbacehyoyn 0123456789abcdef
    
  3. Enter the following SQL statement:
     update userreg 
    set logonpassword=<hex encrypted version of password output from the wcs_password script> 
    where logonid = 'wcsadmin';
    
    For example,
    update userreg 
    set logonpassword=x'74434f61354f51593862415655304d5268424e54723865685653356151374a2b353163506c4261363730633d202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020' 
    where logonid = 'wcsadmin';