From f7605d2f5d0f61255755b34144bea281365d950c Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 10 May 2023 17:49:31 -0400 Subject: [PATCH] redis cli login example Signed-off-by: Bill Erickson --- README | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README b/README index 5b6a45d..0e2601c 100644 --- a/README +++ b/README @@ -295,13 +295,18 @@ Issue the following command as the *opensrf* Linux account: osrf_control --reset-message-bus --------------------------------------------------------------------------- + -[NOTE] -=========================================================================== +Accessing the Redis Command Line +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The script which creates Redis OpenSRF accounts also disables the 'default' (password-less) Redis account for security reasons. To access the Redis command line with full privileges, use the 'admin' user and -associated password from the SYSCONFDIR/redis-accounts.txt file. -=========================================================================== +associated password from the SYSCONFDIR/redis-accounts.txt file. For +example: ++ +[source,bash] +--------------------------------------------------------------------------- +REDISCLI_AUTH=f0d2ebcc-5a52-49e4-a910-a515144b4141 redis-cli --user admin +--------------------------------------------------------------------------- Starting and stopping OpenSRF services -------------------------------------- -- 2.11.0