mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
how to call sudo with changed path
This commit is contained in:
@@ -49,9 +49,9 @@ This should let you run various ``conda`` and ``pip`` commands. If you run into
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
sudo PATH=${PATH} <command>
|
||||
sudo env PATH=${PATH} <command>
|
||||
|
||||
By default, ``sudo`` does not respect any custom environments you have activated. The ``PATH=${PATH}``
|
||||
By default, ``sudo`` does not respect any custom environments you have activated. The ``env PATH=${PATH}``
|
||||
'fixes' that.
|
||||
|
||||
.. note::
|
||||
|
||||
Reference in New Issue
Block a user