Saltar al contenido principal

Manage the accounts of your team

This guide shows how to get the first administrator account of Colander, create the accounts of your colleagues, and how users secure their own account.

Get the first administrator account​

How you get the first administrator account depends on how Colander was deployed:

  • Ansible: the deployment creates it for you. The username and the password are colander_admin_user and colander_admin_password in your configuration vault. The same applies to Threatr, with threatr_admin_user and threatr_admin_password.

  • Docker Compose: create it on the machine running Colander, from the docker folder, with the same -f arguments as the ones you started the stack with:

    Create the administrator accounts of Colander and Threatr
    docker compose -f compose-dev.yml exec colander-front /entrypoint python manage.py createsuperuser
    docker compose -f compose-dev.yml exec threatr-front /entrypoint python manage.py createsuperuser

Store these credentials securely and do not share them. This first account is needed to create all the others.

Open the administration panel​

DeploymentColander administration panelThreatr administration panel
Ansible${colander_base_url}/${colander_django_admin_url}${threatr_base_url}/${threatr_django_admin_url}
Docker Composehttp://localhost:5000/admin/http://localhost:5001/admin/

With Ansible, the panels are served at random paths: replace the variables with the values of your configuration vault.

Create an account for a user​

By now, the only way for a new user to get an account is requesting its creation to an administrator. The administrator must use the administration panel to add a new user.

Menu of the administration panel showing the entry for managing the accounts
Menu of the administration panel showing the entry for managing the accounts

Then, the administrator has to specify the username and password that will then be shared with the user.

Menu of the administration panel showing the user account creation form
Menu of the administration panel showing the user account creation form

To grant the administrative rights to a specific user, an administrator has to select Active, Staff status and Superuser status options.

Menu of the administration panel showing the options to grant administrative rights
Menu of the administration panel showing the options to grant administrative rights

Instead of deleting an account, administrators can deactivate a given account.

Raw passwords

Raw passwords are not stored, so there is no way to see the user’s password.

Verify an email address​

At their first login, a user has to set a primary email address by opening their profile (click on the username at the top right of Colander then Manage in the email address section) and has to go through the verification process.

Having a verified primary email address linked is necessary to reset the password of the account.

Change a password​

After having linked their email address, the user can logout, go back to the login page and click on Forgot your password?. An email detailing the procedure will be sent to the primary email address linked to the account.

Enable two-factor authentication​

Users can set up 2-factor authentication by following the procedure in their profile, section 2FA. By now, Colander only supports TOTP.

Overview of the form for setting up the 2-factor authentication
Overview of the form for setting up the 2-factor authentication