mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
small typo in docs
This commit is contained in:
@@ -11,23 +11,28 @@ avoid it.
|
||||
Enabling the authenticator
|
||||
==========================
|
||||
|
||||
1. Always use DummyAuthenticator with a password. You can communicate this
|
||||
1. Always use DummyAuthenticator with a password. You can communicate this
|
||||
password to all your users via an out of band mechanism (like writing on
|
||||
a whiteboard). Once you have selected a password, configure TLJH to use
|
||||
the password by executing the following from an admin console.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
sudo tljh-config set auth.DummyAuthenticator.password <password>
|
||||
.. code-block:: bash
|
||||
|
||||
sudo tljh-config set auth.DummyAuthenticator.password <password>
|
||||
|
||||
Remember to replace ``<password>`` with the password you choose.
|
||||
|
||||
2. Enable the authenticator and reload config to apply configuration:
|
||||
|
||||
sudo tljh-config set auth.type dummyauthenticator.DummyAuthenticator
|
||||
sudo tljh-config reload
|
||||
.. code-block:: bash
|
||||
|
||||
Users who are currently logged in will continue to be logged in. When they
|
||||
sudo tljh-config set auth.type dummyauthenticator.DummyAuthenticator
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
sudo tljh-config reload
|
||||
|
||||
Users who are currently logged in will continue to be logged in. When they
|
||||
log out and try to log back in, they will be asked to provide a username and
|
||||
password.
|
||||
|
||||
@@ -40,4 +45,7 @@ commands:
|
||||
.. code-block:: bash
|
||||
|
||||
tljh-config set auth.DummyAuthenticator.password <new-password>
|
||||
tljh-config reload
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
tljh-config reload
|
||||
|
||||
Reference in New Issue
Block a user