Adding users to your Concert instance (VM)

You can add users to the virtual machine (VM) where your Concert instance is deployed. Only Admin or User roles can be added to a Concert instance. The user(s) can then access Concert instance with the assigned roles.

Before you begin

  • You must have valid credentials to the VM where Concert instance is installed.
  • You must have valid access to use the user-mgmt utility.

Instructions

Refer to the following instructions to add users to a Concert instance on a VM.

  1. Expand the ibm-concert-std directory where Concert is installed using the following command.
    cd ibm-concert-std
  2. Run the following command to add user(s) to the Concert instance on a VM.
    ./bin/user-mgmt add-user <username> <role> [password]
    Parameter Description
    <username> Give the username to access the Concert instance.
    <role> Only a User or Admin role can be added to the Concert instance.
    [password] Set a custom-specific password. If the password for a user is not passed, then you are prompted to enter a new password and confirm.
  3. Run the following command to set a new password. You will be prompt to enter the existing password to set a new password.
    ./bin/user-mgmt change-password <username>
  4. Run the following command to delete an existing user ID.
    ./bin/user-mgmt delete-user <username>
  5. Run the following command to validate the user credentials.
    ./bin/user-mgmt test-user-cred <username>

    You are prompted to enter the password. You will be notified if the user that you validate does not exist.

Next steps

User can log in to the Concert instance and verify that the expected roles exist.