>From 10194f89562c7849000282ee82d86790e436c489 Mon Sep 17 00:00:00 2001 From: Shawn Wells Date: Mon, 23 Dec 2013 08:01:19 -0500 Subject: [PATCH 20/25] accounts_minimum_age_login_defs --> shared/ && RHEL6 CCP profile update - RHEL6 CCP profile using incorrect XCCDF variable, updated to var_accounts_minimum_age_login_defs - Added accounts_minimum_age_login_defs.xml to shared/ - Updated symlinks Signed-off-by: Shawn Wells --- :100644 120000 a0cc5c3... 76381c0... T RHEL/6/input/checks/accounts_minimum_age_login_defs.xml :100644 100644 bee24dd... e214b7e... M RHEL/6/input/profiles/rht-ccp.xml :000000 120000 0000000... 76381c0... A RHEL/7/input/checks/accounts_minimum_age_login_defs.xml :000000 100644 0000000... 03ada1e... A shared/oval/accounts_minimum_age_login_defs.xml .../checks/accounts_minimum_age_login_defs.xml | 36 +--------------------- RHEL/6/input/profiles/rht-ccp.xml | 2 +- .../checks/accounts_minimum_age_login_defs.xml | 1 + shared/oval/accounts_minimum_age_login_defs.xml | 36 ++++++++++++++++++++++ 4 files changed, 39 insertions(+), 36 deletions(-) diff --git a/RHEL/6/input/checks/accounts_minimum_age_login_defs.xml b/RHEL/6/input/checks/accounts_minimum_age_login_defs.xml deleted file mode 100644 index a0cc5c3..0000000 --- a/RHEL/6/input/checks/accounts_minimum_age_login_defs.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - Set Password Expiration Parameters - - Red Hat Enterprise Linux 6 - - The minimum password age policy should be set appropriately. - - - - - - - - - - - - - - /etc/login.defs - ^[\s]*PASS_MIN_DAYS[\s]+(\d+)\s*$ - 1 - - - - - - - - - diff --git a/RHEL/6/input/checks/accounts_minimum_age_login_defs.xml b/RHEL/6/input/checks/accounts_minimum_age_login_defs.xml new file mode 120000 index 0000000..76381c0 --- /dev/null +++ b/RHEL/6/input/checks/accounts_minimum_age_login_defs.xml @@ -0,0 +1 @@ +../../../../shared/oval/accounts_minimum_age_login_defs.xml \ No newline at end of file diff --git a/RHEL/6/input/profiles/rht-ccp.xml b/RHEL/6/input/profiles/rht-ccp.xml index bee24dd..e214b7e 100644 --- a/RHEL/6/input/profiles/rht-ccp.xml +++ b/RHEL/6/input/profiles/rht-ccp.xml @@ -9,7 +9,7 @@ - + diff --git a/RHEL/7/input/checks/accounts_minimum_age_login_defs.xml b/RHEL/7/input/checks/accounts_minimum_age_login_defs.xml new file mode 120000 index 0000000..76381c0 --- /dev/null +++ b/RHEL/7/input/checks/accounts_minimum_age_login_defs.xml @@ -0,0 +1 @@ +../../../../shared/oval/accounts_minimum_age_login_defs.xml \ No newline at end of file diff --git a/shared/oval/accounts_minimum_age_login_defs.xml b/shared/oval/accounts_minimum_age_login_defs.xml new file mode 100644 index 0000000..03ada1e --- /dev/null +++ b/shared/oval/accounts_minimum_age_login_defs.xml @@ -0,0 +1,36 @@ + + + + Set Password Expiration Parameters + + Red Hat Enterprise Linux 6 + Red Hat Enterprise Linux 7 + + The minimum password age policy should be set appropriately. + + + + + + + + + + + + + + /etc/login.defs + ^[\s]*PASS_MIN_DAYS[\s]+(\d+)\s*$ + 1 + + + + + + + + + -- 1.8.3.1