Accounts

Web interface account management

Accounts for the web interface are managed via the command line tool:

sudo /opt/collector-core/bin/pycollector

Authorized Accounts

Authorized accounts are those with access to the web interface.

Listing Authorized Accounts

To list accounts with authorized access to the web interface, run the following command from a terminal:

sudo /opt/collector-core/bin/pycollector user --list-active-users

This will list accounts with authorized access to the web interface:

Authorized users:
        Email: [email protected]
        Name: Support Account
        MFA: Enabled

        Email: [email protected]
        Name: Analyst 1
        MFA: Disabled

Disabling an Account

To disable an account and prohibit access to the web interface, run the following command from a terminal:

sudo /opt/collector-core/bin/pycollector user --disable-user <username>

e.g.:

sudo /opt/collector-core/bin/pycollector user --disable-user [email protected]

The user will no longer have access to the web interface.

Password Change

To change a user's password, run the following command from a terminal:

sudo /opt/collector-core/bin/pycollector user <username> <new password>

e.g.:

sudo /opt/collector-core/bin/pycollector user [email protected] myNewPa$$word

Pending Accounts

When users register via the web interface, the newly created account is in a pending state. This prevents access to the web interface until the user is approved.

Listing Pending Accounts

To list pending accounts, run the following command from a terminal:

sudo /opt/collector-core/bin/pycollector user --list-pending-users

This will list accounts that are pending authorization to the web interface:

Pending users:
        Email: [email protected]
        Name: Analyst 2

Authorize Pending Account

To authorize a pending account and enable access to the web interface, run the following command from a terminal:

sudo /opt/collector-core/bin/pycollector user --enable-user <username>

e.g.:

sudo /opt/collector-core/bin/pycollector user --enable-user [email protected]

The user will now have access to the web interface.

Last updated