title: Root access for Jupyter/iPython Notebook
body: <p>I'm trying to use the bash kernel in iPython/Jupyter notebook, but I need sudo access within the notebook itself.</p>
  
  <p>I've tried <code>$ sudo jupyter notebook</code> to run the notebook as root, but that only returns:</p>
  
  <pre><code>$ jupyter: 'notebook' is not a Jupyter command
  </code></pre>
  
  <p>So, I'm left with running <code>$ jupyter notebook</code> (unless there's a way to run Jupyter notebook as root).</p>
  
  <p>I also can't do <code>su root</code> in the notebook itself because that requires an input and the notebook won't let me give an input.</p>
  
  <p>Finally, there is allegedly an <code>--allow-root</code> option for Jupyter notebook:
  <a href="http://jupyter-notebook.readthedocs.io/en/latest/config.html" rel="noreferrer">http://jupyter-notebook.readthedocs.io/en/latest/config.html</a></p>
  
  <p>However, it looks like <code>--allow_root</code> is no longer an option. (I've tried modifying the config file by adding <code>NotebookApp.allow_root=True</code>, but that doesn't work.)</p>
  
  <p>Any ideas guys? Maybe I'm doing something wrong?</p>