There are two "system" users in EnterWorks:
-
The admin user for EnterWorks (commonly called "the system user").
-
The admin user for EPX.
When EnterWorks is installed, passwords for both accounts are the same. It is a good practice to keep the passwords the same. If you change one of them, change the other to match.
To change the EnterWorks system user password:
- Change the password using the UI.
If you are unable to log into the UI, change the password directly in the EPIM database:
- Encrypt the password using EPIM encryption.
- Update the
B_USER
table using the following SQL:
UPDATE B_USER SET PSWD='<encryptedPassword>' WHERE LOGIN = 'system'
- Change the password in the affected microservices: Note:
To list a microservice's parameters, run the executable with the
-h
option as shown in the example below.<drive>:\EnterWorks\enable2020\services\bin\<service-name>.exe -h
- Use File Explorer to move to:
<drive>:\Enterworks\enable2020\services\install
- Search the folder to find the
create-<service-name>-service.cmd
scripts that contain the setting:-systemPassword=<system-password>
- In each of the files that contain the system login setting:
- If
-encryptedMode=true
, the microservice is encrypted:- Encrypt the new system password using EnterWorks encryption.
- Set:
-systemPassword=<new-encrypted-system-password>
- Else, if
-encryptedMode=false
, the microservice is not encrypted. Set:-systemPassword=<new-unencrypted-system-password>
- Use each of the modified
create-<service>-scripts
:
- If
- Configure the Utilities with the new password. For each of the files:
<drive>:\Enterworks\Utilities\RegenerateDAMVariant\RegenerateDAMVariant-config.json
<drive>:\Enterworks\Utilities\MonitorDAMDrop\MonitorDAMDrop-config.json
<drive>:\Enterworks\Utilities\DAMReportUtility\DamReportUtility-config.json
- If
"encryptedMode": "true"
, the utility is encrypted:- Encrypt the new system password using EnterWorks encryption.
- Set:
"systemPassword": "<new-encrypted-system-password>"
- Else, if
"encryptedMode": "false"
, the utility is not encrypted. Set:"systemPassword": "<new-unencrypted-system-password>"
- Save and exit the file.
- Use File Explorer to move to:
- Change the EPX-encrypted system password in the
Enterworks.properties
files.- Open a command prompt and change the current directory to drive:\Enterworks\EPX\bin.
- Enter the command
getEncryptedString systemPassword
, where systemPassword is the new password for the system user. - Copy the value returned by the command.
- Edit all copies of the
Enterworks.properties
file and set the propertyepx.server.systemPassword
to the encrypted value copied in the Step 3d.
- Change the EPX System Password
- Restart all services.