# Disable Terminals and shell script in TLJH

**URL:** https://discourse.jupyter.org/t/disable-terminals-and-shell-script-in-tljh/5977
**Category:** The Littlest JupyterHub
**Tags:** help-wanted
**Created:** [September 14, 2020, 1:37pm UTC](https://discourse.jupyter.org/t/disable-terminals-and-shell-script-in-tljh/5977 "2020-09-14T13:37:48Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![suzukihi724](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@suzukihi724](https://discourse.jupyter.org/u/suzukihi724)
#### Post date: [September 14, 2020, 1:37pm UTC](https://discourse.jupyter.org/t/disable-terminals-and-shell-script-in-tljh/5977/1 "2020-09-14T13:37:48Z")

</div>

I want to know how to disable terminals and shell script in TLJH .

I tried to use " jupyter\_notebook\_config.py " with “c.NotebookApp.terminals\_enabled = False” option and “c.NotebookApp.terminado\_settings” option. I put this config file to “/opt/tljh/user/etc/jupyter/” and reloaded, but it didn’t work for me.

Are there any other way?

---

<div class="post-metadata">

### Author: ![markperri](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/markperri/32/2187_2.png) [@markperri](https://discourse.jupyter.org/u/markperri)
#### Post date: [September 14, 2020, 6:37pm UTC](https://discourse.jupyter.org/t/disable-terminals-and-shell-script-in-tljh/5977/2 "2020-09-14T18:37:57Z")

</div>

I don’t use TLJH, but your notebook config might be in the wrong location. I use /etc/jupyter/jupyter\_notebook\_config.py in the jupyter notebook docker image with:

c.NotebookApp.terminals\_enabled = False

---

<div class="post-metadata">

### Author: ![GeorgianaElena](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/georgianaelena/32/229_2.png) [@GeorgianaElena](https://discourse.jupyter.org/u/GeorgianaElena)
#### Post date: [September 15, 2020, 2:33pm UTC](https://discourse.jupyter.org/t/disable-terminals-and-shell-script-in-tljh/5977/3 "2020-09-15T14:33:34Z")

</div>

Hey @suzukihi724 👋 There are some instructions about disabling terminals in this TLJH GitHub issue: [https://github.com/jupyterhub/the-littlest-jupyterhub/issues/373](https://github.com/jupyterhub/the-littlest-jupyterhub/issues/373) that might help.

---

<div class="post-metadata">

### Author: ![suzukihi724](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@suzukihi724](https://discourse.jupyter.org/u/suzukihi724)
#### Post date: [September 21, 2020, 12:49am UTC](https://discourse.jupyter.org/t/disable-terminals-and-shell-script-in-tljh/5977/4 "2020-09-21T00:49:53Z")

</div>

> [@suzukihi724](#):
>
> /opt/tljh/user/etc/jupyter/

I solved this problem. The solution in TLJH GitHub issue (@GeorgianaElena ) worked.  
Thank you very much.
