Default Admin User
Manage the default admin user credentials and access settings.
Admin User Parameters
Disabling the Default Admin User
Last updated
Was this helpful?
Manage the default admin user credentials and access settings.
During installation, Connectware creates a default administrator user to ensure immediate system access. This user is named admin and has the connectware-admin role assigned to provide comprehensive permissions.
We strongly recommend to change the initial admin username and password after the first login. See Changing Usernames and Changing User Passwords.
The following auth-server environment variables are available for configuring the admin user. Parameters differ between Kubernetes and Docker deployments.
global.userManagement.adminUser.initialPassword
Sets the initial password for the admin user. Must be a Base64-encoded string.
admin
global.userManagement.adminUser.enabled
Enables/disables the admin user. Accepts a boolean value (true or false).
true
Before disabling the default admin user, ensure you have created at least one other user with full administrative permissions. Otherwise, you may lose administrative access to your Connectware installation.
You can disable the default admin user after creating custom users that have admin permissions.
If the global.userManagement.adminUser.initialPassword Helm value (Kubernetes) or the CYBUS_ADMIN_USER_ENABLED environment variable (Docker) is not set, or if it has a value other than false, the default admin user is enabled and can log in with suitable credentials.
Open the values.yaml file.
Set the global.userManagement.adminUser.enabled Helm value to false.
global:
userManagement:
adminUser:
enabled: 'false'Upgrade your Helm chart to apply the Helm configuration changes. For more information, see Applying Helm configuration changes.
helm upgrade -n ${NAMESPACE} ${INSTALLATION_NAME} -f values.yaml4. Try logging in with the admin user credentials to verify that the account has been disabled. You should receive a "wrong password" error.
Navigate to your Connectware installation directory. If you have used the default values during installation, this is the installation folder: /opt/connectware. The directory contains an .env file that is loaded when starting Connectware.
Open the .env file.
Set the CYBUS_ADMIN_USER_ENABLED environment variable to false.
environment:
- CYBUS_ADMIN_USER_ENABLED=falseStart or restart Connectware. For more information, see Restarting Connectware.
Try logging in with the admin user credentials to verify that the account has been disabled. You should receive a "wrong password" error.
Last updated
Was this helpful?
Was this helpful?

