From 4867538c22c38477df7e022d7cd5d435aec11c6c Mon Sep 17 00:00:00 2001 From: "thibault.dewailly" Date: Mon, 2 May 2016 10:45:32 +0200 Subject: [PATCH] fix 99.1 Apply TMOUT Variable --- bin/hardening/99.1_timeout_tty.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/hardening/99.1_timeout_tty.sh b/bin/hardening/99.1_timeout_tty.sh index 1c39958..45d65d5 100755 --- a/bin/hardening/99.1_timeout_tty.sh +++ b/bin/hardening/99.1_timeout_tty.sh @@ -12,7 +12,7 @@ set -e # One error, it's over set -u # One variable unset, it's over USER='root' -PATTERN='^TMOUT=' +PATTERN='TMOUT=' VALUE='600' FILES_TO_SEARCH='/etc/bash.bashrc /etc/profile.d/* /etc/profile' FILE='/etc/profile.d/CIS_99.1_timeout.sh'