Delete Users

This section explains how to delete system administration users.

System administration users are not the same as database users.

This procedure is carried out using ConfD.

Prerequisites

To perform this task you must be a member of the exaadm group.

Procedure

The following examples use ConfD through the command-line tool confd_client, which is available on all database nodes. For more information, see ConfD.

Placeholder values are indicated with UPPERCASE characters. Replace the placeholders with your own values.

  1. Connect to EXAClusterOS (COS) using c4 connect -t <DEPLOYMENT>[.<NODE>]/cos. For example:

    c4 connect -t 1/cos

    In most cases it does not matter on which node you access ConfD. If you do not specify a node, c4 will connect to the first active node in the deployment. The command prompt in COS indicates which node you are connected to:

    [root@n11 ~]#

    For more information about how to use c4 connect, see How to use c4.

  2. To find the user name, use the ConfD job user_list:

    confd_client -c user_list

    In the following example output, the user name is admin2.

    admin2:
      additional_groups: []
      authorized_keys: []
      group: exaadm
      id: 1005
  3. To delete a user, use the ConfD job user_delete. For example:

    confd_client -c user_delete -a '{username: USERNAME}'

Verification

To verify that the user has been deleted, use the ConfD job user_list:

confd_client -c user_list

The user should no longer be listed.

See Also