From 2c914c7d25698140feec0fb7920de7fa887390d5 Mon Sep 17 00:00:00 2001 From: rusty-snake <41237666+rusty-snake@users.noreply.github.com> Date: Thu, 4 Jun 2020 11:55:32 +0000 Subject: disable-shell.inc (#3411) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- etc/inc/disable-shell.inc | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 etc/inc/disable-shell.inc (limited to 'etc/inc/disable-shell.inc') 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 @@ +# This file is overwritten during software install. +# Persistent customizations should go in a .local file. +include disable-shell.local + +blacklist ${PATH}/bash +blacklist ${PATH}/csh +blacklist ${PATH}/dash +blacklist ${PATH}/fish +blacklist ${PATH}/ksh +blacklist ${PATH}/sh +blacklist ${PATH}/tclsh +blacklist ${PATH}/tcsh +blacklist ${PATH}/zsh -- cgit v1.2.3-70-g09d2