Granting Local authentication

Granting user access using local authentication.

Describes how to locate the Cloudera Observability On-Premises local authentication directory and user authentication files in Cloudera Manager, and how to add a user, or remove or list existing users using the Console Server executable tool.
  1. In a supported web browser on the Cloudera Observability On-Premises cluster, log in to Cloudera Manager.
  2. In Cloudera Manager, select Clusters, OBSERVABILITY, and then the Configuration tab.
  3. Search for the following properties:
    • User Authorization File Directory (user-file.dir), which is the local directory for storing the user authorization file required by the Console Server. By default, /etc/observability/conf.
    • User Authorization File Name (user-file.name), which is the name of the user authorization file required by the Console Server. By default, user-file.json.
  4. In a terminal, SSH to the cluster node that has the Cloudera Observability On-Premises Console role.
  5. On the Cloudera Observability On-Premises host, go to the following directory by entering the following command:
    ${PARCELS_ROOT}/observability/lib/thunderhead-sigma-console
  6. According to your task, enter one of the following commands:
    • To add a user, enter the following command and then follow the prompts to create the user's user name and password:
      ./onprem-linux user add --user-file user-file.dir user-file.name
    • To remove a user, enter the following command:
      ./onprem-linux user remove --user-file user-file.dir user-file.name
    • To list existing users, enter the following command:
      
      ./onprem-linux user list --user-file user-file.dir user-file.name
  7. Optional: To access the help for other commands, enter the following command:
    ./onprem-linux -h