Disabling shell execution from Jupyter notebook
gnaldi62
Partner, L2 Designer, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS ML Practitioner, Dataiku DSS Core Concepts, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2022, Frontrunner 2022 Finalist, Frontrunner 2022 Winner, Frontrunner 2022 Participant, Neuron 2023 Posts: 79 Neuron
Hi,
we see that when a notebook is created with a specific code environment, users can run "!pip install" from a cell
and then overcoming limitations on the code environment accessibility. Is there a way to disable this
behavioir ?
Thanks. Rgds.
Giuseppe
Best Answer
-
Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,226 Dataiker
Hi,
If UIF is enabled, https://doc.dataiku.com/dss/latest/user-isolation/capabilities/index.html
Users will every user acts as their own Linux user and have no ability to act as the DSS user or privileged users.
Resulting in permissions denied and package would not install.
Disabling the magic "!" is not possible.