Managing users and passwords
Last updated: 9/10/2026Manage runtime users and passwords, including security hardening and password encryption behavior introduced in patch 8.0.1.
The default security configuration uses a property file located at <RuntimeContainerPath>/etc/users.properties to store authorized users and their passwords. The default user name is tadmin and the associated password is tadmin. We strongly encourage you to change the default password before moving Karaf into production.
These users control access to three areas in Karaf:
-
access to the SSH console
-
access to the JMX management layer
-
access to the Web console
These three access paths all delegate to the same JAAS-based security authentication.
Security hardening and password encryption
Changing default passwords before production use
Three system users are delivered with default credentials in etc/users.properties: tadmin, tesb, and karaf.
Since patch 8.0.1.R2026-02-RT, if any system user keeps a default password, SSH access to Talend ESB Runtime is automatically restricted to 127.0.0.1. This behavior is controlled by sshHost in etc/org.apache.karaf.shell.cfg.
Change the default passwords in etc/users.properties before starting the runtime, or before applying the patch.
Password encryption enforced since patch 8.0.1.R2026-05-RT
From patch 8.0.1.R2026-05-RT, system user passwords in etc/users.properties are automatically encrypted on the first startup after the patch is applied. The following updates are applied automatically:
-
Password encryption is activated in etc/org.apache.karaf.jaas.cfg with encryption.enabled = true and encryption.name = jasypt.
-
Passwords in etc/users.properties are encrypted in place.
-
The file etc/org.talend.esb.vault.add is created and then replaced by etc/org.talend.esb.vault.dat at the next startup.
-
New environment variable definitions with a _NEW suffix are added to bin/setsecenv, bin\setsecenv.bat, or <service name>-wrapper.conf if the runtime is installed as a service.
If default passwords are still present after patching, update them immediately:
-
Edit etc/users.properties and replace each default password with a new plaintext password. The runtime encrypts the new value at next startup.
-
Edit etc/org.talend.esb.vault.add and replace the default passwords with the new passwords.
Removing cleartext passwords from startup scripts
After patch 8.0.1.R2026-05-RT, remove cleartext passwords from bin/setsecenv (Linux or macOS), bin\setsecenv.bat (Windows), or <service name>-wrapper.conf for service installations.
-
Find the variables created by the patch with the _NEW suffix.
-
Remove the _NEW suffix from each variable name.
-
Delete the previous variable definitions that still include cleartext passwords.
-
Restart the runtime or the wrapper service. After startup, etc/users.properties contains encrypted passwords and etc/org.talend.esb.vault.dat replaces etc/org.talend.esb.vault.add.
Final state of bin/setsecenv:
export TESB_AMQ_GUI_USER_PASSWORD=VAULT\(tesb\)
export TESB_AUXSTORE_AUTHENTICATION_PASSWORD=VAULT\(karaf\)
export TESB_AUXSTORE_SAML_PASSWORD=VAULT\(tadmin\)
export TESB_LOCATOR_AUTHENTICATION_PASSWORD=VAULT\(tesb\)
export TESB_REGISTRY_AUTHENTICATION_PASSWORD=VAULT\(karaf\)
export TESB_REGISTRY_SAML_PASSWORD=VAULT\(tadmin\)
export TESB_SAML_SECURITY_PASSWORD=VAULT\(tadmin\)
export TESB_SAM_SERVICE_SECURITY_PASSWORD=VAULT\(tesb\)Final state of bin\setsecenv.bat:
set TESB_AMQ_GUI_USER_PASSWORD=VAULT(tesb)
set TESB_AUXSTORE_AUTHENTICATION_PASSWORD=VAULT(karaf)
set TESB_AUXSTORE_SAML_PASSWORD=VAULT(tadmin)
set TESB_LOCATOR_AUTHENTICATION_PASSWORD=VAULT(tesb)
set TESB_REGISTRY_AUTHENTICATION_PASSWORD=VAULT(karaf)
set TESB_REGISTRY_SAML_PASSWORD=VAULT(tadmin)
set TESB_SAML_SECURITY_PASSWORD=VAULT(tadmin)
set TESB_SAM_SERVICE_SECURITY_PASSWORD=VAULT(tesb)Changing system user passwords after encryption is active
When etc/org.talend.esb.vault.dat exists, use the following procedure to change a system user password:
-
Edit etc/users.properties and replace the encrypted password with the new plaintext password.
-
Create or update etc/org.talend.esb.vault.add with the new passwords.
user1=password1 user2=password2 user3=password3 -
Restart the runtime or the wrapper service to apply the update. The etc/org.talend.esb.vault.add file is consumed and replaced by etc/org.talend.esb.vault.dat.
The users.properties file contains one or more lines. Each line defines a user, its password, and the associated roles:
user=password[,role][,role]...