I\'m trying to use the bash kernel in iPython/Jupyter notebook, but I need sudo access within the notebook itself.
I\'ve tried $ sudo jupyter notebook to ru
$ sudo jupyter notebook
Add c.NotebookApp.allow_root=True from the root configuration files. That you don't need ask to allow-rootevery time then you start the notebook.
c.NotebookApp.allow_root=True
allow-root
Edit:
Before edit the configuration file you need to run jupyter notebook --generate-config as root to make the file.
jupyter notebook --generate-config