From b949bbeeaa81bce7df1ba90de4bd3725d1371819 Mon Sep 17 00:00:00 2001 From: joglomedia Date: Wed, 23 Oct 2019 23:38:32 +0700 Subject: [PATCH] Enhance memcached with SASL authentication support --- scripts/install_memcached.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install_memcached.sh b/scripts/install_memcached.sh index 77ebb7d..803e3e0 100755 --- a/scripts/install_memcached.sh +++ b/scripts/install_memcached.sh @@ -155,7 +155,7 @@ EOL run echo -e "\n# Enable SASL auth\n-S" >> /etc/memcached_memcache.conf # Save config. - save_config -e "MEMCACHED_USERNAME=${USERNAME}\nMEMCACHED_PASSWORD=${MEMCACHED_PASSWORD}\nMEMCACHED_INSTANCE=memcache" + save_config -e "MEMCACHED_SASL_USERNAME=${USERNAME}\nMEMCACHED_SASL_PASSWORD=${MEMCACHED_PASSWORD}\nMEMCACHED_SASL_INSTANCE=memcache" # Save log. save_log -e "Memcached SASL auth is enabled, below is your default auth credential.\nUsername: ${MEMCACHED_PASSWORD}, password: ${MEMCACHED_PASSWORD}\nSave this credential and use it to authenticate your Memcached connection."