diff --git a/bin/hardening/99.1_timeout_tty.sh b/bin/hardening/99.1_timeout_tty.sh index f79fec2..763c3d6 100755 --- a/bin/hardening/99.1_timeout_tty.sh +++ b/bin/hardening/99.1_timeout_tty.sh @@ -11,6 +11,8 @@ set -e # One error, it's over set -u # One variable unset, it's over +HARDENING_LEVEL=2 + USER='root' PATTERN='TMOUT=' VALUE='600' diff --git a/bin/hardening/99.2_disable_usb_devices.sh b/bin/hardening/99.2_disable_usb_devices.sh index 298c473..0584598 100755 --- a/bin/hardening/99.2_disable_usb_devices.sh +++ b/bin/hardening/99.2_disable_usb_devices.sh @@ -11,6 +11,8 @@ set -e # One error, it's over set -u # One variable unset, it's over +HARDENING_LEVEL=4 + USER='root' PATTERN='ACTION=="add", SUBSYSTEMS=="usb", TEST=="authorized_default", ATTR{authorized_default}="0"' # We do test disabled by default, whitelist is up to you FILES_TO_SEARCH='/etc/udev/rules.d'