Delete Users
This article explains how to delete system administration users.
System administration users are not the same as database users.
Prerequisites
To perform this task you must be a member of the exaadm group.
Procedure
This procedure uses the command-line tool confd_client, which is available on all database nodes.
Placeholder values are indicated with UPPERCASE characters. Replace the placeholders with your own values.
-
Connect to the cluster operating system (COS) using
c4 connect -i PLAY_ID -s cos
.Example:
Copy./c4 connect -i c3275f84 -s cos
For more information about how to use
c4 connect
, see How to use c4. -
To find the exact user name, use the ConfD job user_list. In this example, the user name is ADMIN2:
Copyconfd_client user_list
...
ADMIN2:
additional_groups: []
authorized_keys: []
group: exaadm
id: 1005 -
To delete the user, use the ConfD job user_delete. For example:
Copyconfd_client user_delete username: ADMIN2
Verification
To verify that the user has been deleted, use the ConfD job user_list:
confd_client user_list
The user should no longer be listed.