Disabling shell execution from Jupyter notebook

Solved!
gnaldi62
Disabling shell execution from Jupyter notebook

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

0 Kudos
1 Solution
AlexT
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. 
Screenshot 2023-02-28 at 16.57.26.png

View solution in original post

1 Reply
AlexT
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. 
Screenshot 2023-02-28 at 16.57.26.png