Articles in this section

How do I see users using asadm

Detail

I need to see the users on my aerospike system, how can I view them using the asadm tool?

Answer

Users in Aerospike are part of the Access control system and need to be enabled in the security section and when enabled, only the admin user is created by default.  Other users will need to be created and assigned to roles.  In order to admin users, we need to be able to query users.

The asadm command show users will show you the users and the roles they are attached to.

Admin> show users
~~~~~~~Users (2023-12-25 22:36:23 UTC)~~~~~~~
  To see individual users metrics run 'show  
               user statistics'              
        User|                           Roles
admin       |                      user-admin
dataadm     |                      data-admin
datauser    |                      read-write
readonly    |                            read
testdata-adm|testdata-admin,testdata-truncate
Number of rows: 5

You can see more about how and where the users are being used with the show user statistics command.

More information about managing roles and users can be found in the documentation on access control.
 

Applies To Earliest Version

4.9

Applies To Latest Version

Current Version
Was this article helpful?
0 out of 0 found this helpful