redis cli login example
authorBill Erickson <berickxx@gmail.com>
Wed, 10 May 2023 21:49:31 +0000 (17:49 -0400)
committerBill Erickson <berickxx@gmail.com>
Wed, 10 May 2023 21:49:31 +0000 (17:49 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
README

diff --git a/README b/README
index 5b6a45d..0e2601c 100644 (file)
--- 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
 --------------------------------------