title: How do I get root access to AI Platform notebook within GCP?
body: <p>I am logged as user <code>jupyter</code> in the terminal in my GCP AI Platform notebook instance.</p>
  <p>I want to just install a few things (cannot be installed by pip) and I am unable to ssh as root user using the gcloud command.</p>
  <p>It would be great if someone could share a pointer of the right way to get permissions to perform these actions.</p>
  <p>Here is a snippet of an example package installation that is causing problems -</p>
  <pre><code>(base)~/datascience$ sudo cp ./pip-bash-completion/pip /etc/bash_completion.d/
  
  We trust you have received the usual lecture from the local System
  Administrator. It usually boils down to these three things:
  
      #1) Respect the privacy of others.
      #2) Think before you type.
      #3) With great power comes great responsibility.
  
  [sudo] password for jupyter: 
  </code></pre>
  <p>I am supposed to have <code>sudo</code> access based on the information I see -</p>
  <pre class="lang-sh prettyprint-override"><code>Zone - us-central1-b
  Environment  - Python 3 (with Intel® MKL)
  Machine type - n1-standard-4 (4 vCPUs, 15 GB RAM)
  GPU - None
  Boot disk - 100 GB disk
  Data disk - 100 GB disk
  Backup - Not specified
  Permission mode - Service account
  Sudo access - Enabled
  </code></pre>