mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Move tljh-config symlink to /usr/bin
Removes a lot of 'sudo -E' usage, and eventually should let us get rid of the $PATH override for jupyterhub-admins, which arguably is less secure than just dropping stuff into /usr/bin Also remove sudo -E from apt and mkdir calls. Not necessary.
This commit is contained in:
6
docs/howto/env/notebook-interfaces.rst
vendored
6
docs/howto/env/notebook-interfaces.rst
vendored
@@ -36,19 +36,19 @@ You can change the default interface users get when they log in by modifying
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
sudo -E tljh-config set user_environment.default_app jupyterlab
|
||||
sudo tljh-config set user_environment.default_app jupyterlab
|
||||
|
||||
#. Alternatively, to launch **nteract** when users log in, run the following in the admin console:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
sudo -E tljh-config set user_environment.default_app nteract
|
||||
sudo tljh-config set user_environment.default_app nteract
|
||||
|
||||
#. Apply the changes by restarting JupyterHub. This should not disrupt current users.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
sudo -E tljh-config reload
|
||||
sudo tljh-config reload
|
||||
|
||||
If this causes problems, check the :ref:`troubleshoot_logs_jupyterhub` for clues
|
||||
on what went wrong.
|
||||
|
||||
Reference in New Issue
Block a user