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:
@@ -78,8 +78,8 @@ admin terminal:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
sudo -E tljh-config add-item users.admin <username>
|
||||
sudo -E tljh-config reload
|
||||
sudo tljh-config add-item users.admin <username>
|
||||
sudo tljh-config reload
|
||||
|
||||
If the user is already using the JupyterHub, they might have to stop and
|
||||
start their server from the control panel to gain new powers.
|
||||
@@ -92,8 +92,8 @@ an admin terminal:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
sudo -E tljh-config remove-item users.admin <username>
|
||||
sudo -E tljh-config reload
|
||||
sudo tljh-config remove-item users.admin <username>
|
||||
sudo tljh-config reload
|
||||
|
||||
If the user is already using the JupyterHub, they will continue to have
|
||||
some of their admin powers until their server is stopped. Another admin
|
||||
|
||||
Reference in New Issue
Block a user