vmware-marketplacememcached

Add or list users

Add users

NOTE: This section assumes that SASL support if enabled. Refer to the Start Memcached with SASL Authentication instructions for more information.

In order to add an user for SASL authentication, execute the following command:

$ sudo /usr/sbin/saslpasswd2 -f /opt/bitnami/memcached/conf/sasl2/memcachedsasldb -a memcached -c USERNAME

Enter a password (twice) for the new user and the new user account will be created.

List created users with SASL

To list users created with SASL, execute the following command:

$ sudo /usr/sbin/sasldblistusers2 -f /opt/bitnami/memcached/conf/sasl2/memcachedsasldb

This will display a list of created users.

NOTE: The password will appear as userPassword, but this is only a placeholder string and not the current password for the user.

Last modification March 2, 2023