LinuxAIXWindowsFor IBM i OS operating system

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.


  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';