Delete Users
This section explains how you can delete users.
Prerequisites
There are no prerequisites.
Procedure
This procedure is carried out using ConfD.
The ConfD examples are written in Bash on a Linux terminal running the Exasol tool confd_client, which is accessed by connecting to EXAClusterOS on the database nodes using Exasol Deployment Tool (c4). You can also interact with ConfD from an external tool using Python and XML-RPC. For more information, see ConfD.
Placeholder values are indicated with UPPERCASE characters. Replace the placeholders with your own values.
-
Connect to EXAClusterOS (COS) using
c4 connect -t<DEPLOYMENT>/cos
. For example:If you do not specify a node, you will normally be connected to the first node in the deployment. If the cluster is configured with an access node, the first node is the access node (usually n10). The COS command prompt indicates which node you are currently connected to.
For more information about c4 commands, see Exasol Deployment Tool (c4).
-
When deleting a user, you must specify the user name. To find the user name, use the ConfD job user_list:
In the following example output, the user name is admin2.
-
To delete a user, use the ConfD job user_delete. For example:
Verification
To verify the user has been deleted, run the the ConfD job user_list again:
The user is no longer listed.
See Also