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
When I need to execute command as root in my notebook, I use the -A
flag, that allows to access an helper program used to read the user's password when no terminal is available.
You need to modify the sudo.conf
file before to declare the helper program. On a Debian Buster, I personnaly added:
Path askpass: /usr/libexec/seahorse/ssh-askpass
See the main page of sudo.conf
for more information.