>From bddae5d68040dba016d9f95ead6a57730a7bad82 Mon Sep 17 00:00:00 2001 From: Shawn Wells Date: Thu, 23 Jan 2014 00:57:11 -0500 Subject: [PATCH 02/10] Moved sshd_set_keepalive to shared/ - Updated CPE for RHEL7 after testing - Moved to shared/ - Added to RHEL7 rht-ccp profile --- RHEL/6/input/checks/sshd_set_keepalive.xml | 35 +----------------------------- RHEL/7/input/checks/sshd_set_keepalive.xml | 1 + RHEL/7/input/profiles/rht-ccp.xml | 3 +-- shared/oval/sshd_set_keepalive.xml | 35 ++++++++++++++++++++++++++++++ 4 files changed, 38 insertions(+), 36 deletions(-) mode change 100644 => 120000 RHEL/6/input/checks/sshd_set_keepalive.xml create mode 120000 RHEL/7/input/checks/sshd_set_keepalive.xml create mode 100644 shared/oval/sshd_set_keepalive.xml diff --git a/RHEL/6/input/checks/sshd_set_keepalive.xml b/RHEL/6/input/checks/sshd_set_keepalive.xml deleted file mode 100644 index 539a6a9..0000000 --- a/RHEL/6/input/checks/sshd_set_keepalive.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - Set ClientAliveCountMax for User Logins - - Red Hat Enterprise Linux 6 - - The SSH ClientAliveCountMax should be set to an appropriate - value (and dependencies are met) - - - - - - - - - - - - - 0 - - - /etc/ssh/sshd_config - ^[\s]*(?i)ClientAliveCountMax[\s]+([\d]+)[\s]*$ - 1 - - diff --git a/RHEL/6/input/checks/sshd_set_keepalive.xml b/RHEL/6/input/checks/sshd_set_keepalive.xml new file mode 120000 index 0000000..4053d82 --- /dev/null +++ b/RHEL/6/input/checks/sshd_set_keepalive.xml @@ -0,0 +1 @@ +../../../../shared/oval/sshd_set_keepalive.xml \ No newline at end of file diff --git a/RHEL/7/input/checks/sshd_set_keepalive.xml b/RHEL/7/input/checks/sshd_set_keepalive.xml new file mode 120000 index 0000000..4053d82 --- /dev/null +++ b/RHEL/7/input/checks/sshd_set_keepalive.xml @@ -0,0 +1 @@ +../../../../shared/oval/sshd_set_keepalive.xml \ No newline at end of file diff --git a/RHEL/7/input/profiles/rht-ccp.xml b/RHEL/7/input/profiles/rht-ccp.xml index 02dcbd1..a01f7a8 100644 --- a/RHEL/7/input/profiles/rht-ccp.xml +++ b/RHEL/7/input/profiles/rht-ccp.xml @@ -126,9 +126,8 @@ ANTIQUATED SERVICES SSH / REMOTE ACCESS CHECKS - -