Skip to main content
Interania

How to revoke user access

0votes
5updates
7views

There may be times when you need to revoke access to Interana for one or more users. This article demonstrates how to revoke user access using the Interana CLI or with SQL on the ConfigDB.

You must have admin privileges to perform the following tasks.

Use the Interana CLI

Most admin tasks are performed on the config node of the Interana cluster. However, you can log in to any node on the cluster that has the CLI installed to perform this task. The following task demonstrates how to remove the ability for a user to log in to Interana and use Interana. It also shows you how to re-instate a user that has been disabled, so they can log in to Interana again.

To revoke user access using the CLI, do the following:
  1. Log in to a node on the cluster that has the CLI configured.
  2. Enter the following command, substituting the actual username for the variable <username>.
ia user disable <username> --unsafe
  1. To re-instate access for a disabled user, enter the following command.
ia user enable <username> --unsafe

Use SQL on the ConfigDB

This task demonstrates how you can use SQL on the ConfigDB directly to revoke Interana user access. The ConfigDB is installed on the config node of the Interana cluster.

To revoke user access using SQL on the ConfigDB, do the following:
  1. Log in to the config node of the Interana cluster.
  2. Enter the following commands.
mysql -unobody -pti

select * from customers.users where username = '<username>';
  1. To revoke user access, enter the following commands.
begin;

update customers.users set enabled = 0 where username = = '<username>';

commit;
  1. To re-instate a access for a revoked user, perform step 2 and then enter the following commands.
begin;

update customers.users set enabled = 0 where username = = '<username>';

rollback;

For more information

 

  • Was this article helpful?