Reset the wcsadmin user password (runtime)

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


Task info

By default the administrator logon ID and password are wcsadmin. We can change the following statements to reflect your administrator logon id if you change your logon ID from the default logon ID.


Procedure

  1. Enter the following SQL statement:

       select salt from userreg where logonid='wcsadmin';

  2. Open the Utility server Docker container.

  3. Run the following command.

    For example:

       $ wcs_password password hsdbacehyoyn 1234567890abcdef1234567890abcdef

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


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
Enable password reset messages