Disable rds

This commit is contained in:
Bob Mottram 2016-11-30 17:21:22 +00:00
parent 21a3edf51a
commit 6b4dba4771
1 changed files with 7 additions and 0 deletions

View File

@ -436,6 +436,10 @@ function disable_sctp {
echo "install sctp /bin/true" > /etc/modprobe.d/sctp.conf
}
function disable_rds {
echo "install rds /bin/true" > /etc/modprobe.d/rds.conf
}
function lockdown_permissions {
# All commands owned by root
if [ -d /bin ]; then
@ -553,6 +557,9 @@ function setup_utils {
read_config_param "PROJECT_REPO"
write_config_param "PROJECT_REPO" "$PROJECT_REPO"
function_check disable_rds
disable_rds
function_check disable_dccp
disable_dccp