Setting Passwords for Default Users
To enable any of the preconfigured default users provided in sample data, set a password and enable login for the user.
Users are created during initialization using the supplied project and sample data ImpEx files. For security reasons they have no passwords by default, but you can add them after the initialization, either in Backoffice or with custom ImpEx. Choose passwords that are unique, complex, and different for each environment. This reduces the risk of password leakage and minimizes the impact if such a leakage should occur.
Setting or Changing Passwords in Backoffice
When the system is up and running, you can set or change passwords, and enable login, for any of your users in Backoffice.
Context
Always choose secure passwords that are hard to guess, even for the default user or role configurations provided in sample data. Password changes done using Backoffice have immediate effect. There is no need to restart the system.
Procedure
- Log in to Backoffice with the Administrator account and go to the Administration Cockpit perspective.
- Select the appropriate user type under User, for example Employees or Customers.
- Search for your user or role and select the user in the results list.
- Go to the Password tab in the user details pane.
- Enter a new password in the Change Password fields.
- If required, select the False radio button under Disable Login to enable login for the user.
- Save your changes.
Results
Setting or Changing Passwords Using ImpEx
When the system is up and running, you can set or change the password, and enable login for any user or role using ImpEx.
Context
For production systems, always choose unique, secure passwords that are hard to guess and are not duplicated in other environments. Password changes done using ImpEx have immediate effect. There is no need to restart the system. Don't set the same password for all users. Instead, use the script to dynamically generate a unique password for each user, or prepare a set of secure, complex initial passwords beforehand if dynamically generated passwords aren't an option. If you can't avoid setting the same password for a batch of users, limit their number so that not everyone receives identical credentials. Never change the password to the same one for system/application users and individual users.
To ensure that all your systems are secure, use varied, secure passwords for test and development environments as well. Weak or repetitive passwords decrease system security and can be exploited by attackers.
Procedure
- Log in to Administration Console.
- Go to the ImpEx Import page under the Console tab.
- Paste your ImpEx containing new user credentials and login attributes into the content field, and click Validate content.
- If your content is valid ImpEx, click Import content to update the passwords and enable login for the defined users.
Results
Enabling All Default Passwords for a Test or Development System
If you're setting up a test or development environment, you can set one single password for all default users. This process gets your development environment set up and running with any of the predefined sample users quickly.