Granting Local authentication
Granting user access using local authentication.
- In a supported web browser on the Cloudera Observability On-Premises cluster, log in to Cloudera Manager.
- In Cloudera Manager, select Clusters, OBSERVABILITY, and then the Configuration tab.
-
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
.
- 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,
- In a terminal, SSH to the cluster node that has the Cloudera Observability On-Premises Console role.
-
On the Cloudera Observability On-Premises host, go to the following directory by entering
the following command:
${PARCELS_ROOT}/observability/lib/thunderhead-sigma-console
-
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
- To add a user, enter the following command and then follow the prompts
to create the user's user name and
password:
- Optional:
To access the help for other commands, enter the following command:
./onprem-linux -h