Disable dccp

This commit is contained in:
Bob Mottram 2016-11-30 17:15:43 +00:00
parent 82a57bc41c
commit c9f6fbd54f
1 changed files with 7 additions and 0 deletions

View File

@ -428,6 +428,10 @@ function disable_ctrl_alt_del {
ln -sf /dev/null /etc/systemd/system/ctrl-alt-del.target ln -sf /dev/null /etc/systemd/system/ctrl-alt-del.target
} }
function disable_dccp {
echo "install dccp /bin/true" > /etc/modprobe.d/dccp.conf
}
function lockdown_permissions { function lockdown_permissions {
# All commands owned by root # All commands owned by root
if [ -d /bin ]; then if [ -d /bin ]; then
@ -545,6 +549,9 @@ function setup_utils {
read_config_param "PROJECT_REPO" read_config_param "PROJECT_REPO"
write_config_param "PROJECT_REPO" "$PROJECT_REPO" write_config_param "PROJECT_REPO" "$PROJECT_REPO"
function_check disable_dccp
disable_dccp
function_check disable_ctrl_alt_del function_check disable_ctrl_alt_del
disable_ctrl_alt_del disable_ctrl_alt_del