]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Updating the docs regarding the user lockout 38810/head
authorNizamudeen A <nia@redhat.com>
Thu, 10 Dec 2020 08:05:38 +0000 (13:35 +0530)
committerNizamudeen A <nia@redhat.com>
Tue, 12 Jan 2021 06:57:57 +0000 (12:27 +0530)
Fixes: https://tracker.ceph.com/issues/40914
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 3f50b05e2530dfcdc44e5f13abac9fbdf20400c1)

doc/mgr/dashboard.rst

index 7d815d8b92f769cc8df0548305e8b2e2b58138c9..8068ab01d6e6b66f829237ec4527a461bde3d44a 100644 (file)
@@ -270,6 +270,34 @@ commands::
 
   $ ceph dashboard ac-user-create <username> <password> administrator
 
+Account Lock-out
+^^^^^^^^^^^^^^^^
+
+It disables a user account if a user repeatedly enters the wrong credentials
+for multiple times. It is enabled by default to prevent brute-force or dictionary
+attacks. The user can get or set the default number of lock-out attempts using
+these commands respectively::
+
+  $ ceph dashboard get-account-lockout-attempts
+  $ ceph dashboard set-account-lockout-attempts <value:int>
+
+.. warning::
+
+  This feature can be disabled by setting the default number of lock-out attempts to 0.
+  However, by disabling this feature, the account is more vulnerable to brute-force or
+  dictionary based attacks. This can be disabled by::
+
+    $ ceph dashboard set-account-lockout-attempts 0
+
+Enable a Locked User
+^^^^^^^^^^^^^^^^^^^^
+
+If a user account is disabled as a result of multiple invalid login attempts, then
+it needs to be manually enabled by the administrator. This can be done by the following
+command::
+
+  $ ceph dashboard ac-user-enable <username>
+
 Accessing the Dashboard
 ^^^^^^^^^^^^^^^^^^^^^^^