aboutsummaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2020-06-04 11:55:32 +0000
committerLibravatar GitHub <noreply@github.com>2020-06-04 11:55:32 +0000
commit2c914c7d25698140feec0fb7920de7fa887390d5 (patch)
treeee02e88b23169a7019027338e5b287516e5b4a69 /etc/inc
parentfixup! rework make realinstall and uninstall (#3435) (diff)
downloadfirejail-2c914c7d25698140feec0fb7920de7fa887390d5.tar.gz
firejail-2c914c7d25698140feec0fb7920de7fa887390d5.tar.zst
firejail-2c914c7d25698140feec0fb7920de7fa887390d5.zip
disable-shell.inc (#3411)
* disable-shell.inc * add disable-shell.inc to all profiles with a … … private-bin line without bash/sh except profiles with redirect profiles. * add it to some more profiles * exclude aria2c.profile
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/disable-shell.inc13
1 files changed, 13 insertions, 0 deletions
diff --git a/etc/inc/disable-shell.inc b/etc/inc/disable-shell.inc
new file mode 100644
index 000000000..fda528eb6
--- /dev/null
+++ b/etc/inc/disable-shell.inc
@@ -0,0 +1,13 @@
1# This file is overwritten during software install.
2# Persistent customizations should go in a .local file.
3include disable-shell.local
4
5blacklist ${PATH}/bash
6blacklist ${PATH}/csh
7blacklist ${PATH}/dash
8blacklist ${PATH}/fish
9blacklist ${PATH}/ksh
10blacklist ${PATH}/sh
11blacklist ${PATH}/tclsh
12blacklist ${PATH}/tcsh
13blacklist ${PATH}/zsh