Blame SOURCES/scap-security-guide-0.1.58-update_stig_references-PR_7366.patch

889f2b
From 3d7b01a7fdc27f7e5a31ba508f7f84dab446aa4b Mon Sep 17 00:00:00 2001
889f2b
From: Eduardo Barretto <eduardo.barretto@canonical.com>
889f2b
Date: Wed, 16 Jun 2021 16:34:59 +0200
889f2b
Subject: [PATCH 1/5] Add accounts_password_pam_dictcheck to UBTU-20-010056
889f2b
889f2b
---
889f2b
 products/ubuntu2004/profiles/stig.profile | 2 ++
889f2b
 1 file changed, 2 insertions(+)
889f2b
889f2b
diff --git a/products/ubuntu2004/profiles/stig.profile b/products/ubuntu2004/profiles/stig.profile
889f2b
index 4d03bfe7ae..ac9685809c 100644
889f2b
--- a/products/ubuntu2004/profiles/stig.profile
889f2b
+++ b/products/ubuntu2004/profiles/stig.profile
889f2b
@@ -113,6 +113,8 @@ selections:
889f2b
     - accounts_password_pam_ocredit
889f2b
 
889f2b
     # UBTU-20-010056 The Ubuntu operating system must prevent the use of dictionary words for passwords.
889f2b
+    - var_password_pam_dictcheck=1
889f2b
+    - accounts_password_pam_dictcheck
889f2b
 
889f2b
     # UBTU-20-010057 The Ubuntu operating system must be configured so that when passwords are changed or new passwords are established, pwquality must be used.
889f2b
     - var_password_pam_retry=3
889f2b
889f2b
From 6c3c586a7fe27d68052428e02843c573f9cbd559 Mon Sep 17 00:00:00 2001
889f2b
From: Eduardo Barretto <eduardo.barretto@canonical.com>
889f2b
Date: Wed, 4 Aug 2021 18:11:48 +0200
889f2b
Subject: [PATCH 2/5] Add ubuntu2004 to prodtype in
889f2b
 accounts_password_pam_dictcheck
889f2b
889f2b
---
889f2b
 .../accounts_password_pam_dictcheck/rule.yml                    | 2 +-
889f2b
 1 file changed, 1 insertion(+), 1 deletion(-)
889f2b
889f2b
diff --git a/linux_os/guide/system/accounts/accounts-pam/password_quality/password_quality_pwquality/accounts_password_pam_dictcheck/rule.yml b/linux_os/guide/system/accounts/accounts-pam/password_quality/password_quality_pwquality/accounts_password_pam_dictcheck/rule.yml
889f2b
index 2990150c0a..00da0397b0 100644
889f2b
--- a/linux_os/guide/system/accounts/accounts-pam/password_quality/password_quality_pwquality/accounts_password_pam_dictcheck/rule.yml
889f2b
+++ b/linux_os/guide/system/accounts/accounts-pam/password_quality/password_quality_pwquality/accounts_password_pam_dictcheck/rule.yml
889f2b
@@ -1,6 +1,6 @@
889f2b
 documentation_complete: true
889f2b
 
889f2b
-prodtype: fedora,rhel8
889f2b
+prodtype: fedora,rhel8,ubuntu2004
889f2b
 
889f2b
 title: 'Ensure PAM Enforces Password Requirements - Prevent the Use of Dictionary Words'
889f2b
 
889f2b
889f2b
From b523676430765ab7fff09f790618f091d3f916e2 Mon Sep 17 00:00:00 2001
889f2b
From: Eduardo Barretto <eduardo.barretto@canonical.com>
889f2b
Date: Wed, 4 Aug 2021 18:12:59 +0200
889f2b
Subject: [PATCH 4/5] Add stigid@ubuntu2004 to accounts_password_pam_dictcheck
889f2b
889f2b
---
889f2b
 .../accounts_password_pam_dictcheck/rule.yml                     | 1 +
889f2b
 1 file changed, 1 insertion(+)
889f2b
889f2b
diff --git a/linux_os/guide/system/accounts/accounts-pam/password_quality/password_quality_pwquality/accounts_password_pam_dictcheck/rule.yml b/linux_os/guide/system/accounts/accounts-pam/password_quality/password_quality_pwquality/accounts_password_pam_dictcheck/rule.yml
889f2b
index bae2db25fe..226329d752 100644
889f2b
--- a/linux_os/guide/system/accounts/accounts-pam/password_quality/password_quality_pwquality/accounts_password_pam_dictcheck/rule.yml
889f2b
+++ b/linux_os/guide/system/accounts/accounts-pam/password_quality/password_quality_pwquality/accounts_password_pam_dictcheck/rule.yml
889f2b
@@ -29,6 +29,7 @@ references:
889f2b
     nist: IA-5(c),IA-5(1)(a),CM-6(a),IA-5(4)
889f2b
     srg: SRG-OS-000480-GPOS-00225
889f2b
     stigid@rhel8: RHEL-08-020300
889f2b
+    stigid@ubuntu2004: UBTU-20-010056
889f2b
 
889f2b
 ocil_clause: 'dictcheck is not found or not equal to the required value'
889f2b
 
889f2b
889f2b
From 39973c39ea17fb13730f1bef239783464c1b4b01 Mon Sep 17 00:00:00 2001
889f2b
From: Eduardo Barretto <eduardo.barretto@canonical.com>
889f2b
Date: Wed, 4 Aug 2021 18:13:16 +0200
889f2b
Subject: [PATCH 5/5] Add pam platform to accounts_password_pam_dictcheck
889f2b
889f2b
---
889f2b
 .../accounts_password_pam_dictcheck/rule.yml                     | 1 +
889f2b
 1 file changed, 1 insertion(+)
889f2b
889f2b
diff --git a/linux_os/guide/system/accounts/accounts-pam/password_quality/password_quality_pwquality/accounts_password_pam_dictcheck/rule.yml b/linux_os/guide/system/accounts/accounts-pam/password_quality/password_quality_pwquality/accounts_password_pam_dictcheck/rule.yml
889f2b
index 226329d752..d0d4b8c5c5 100644
889f2b
--- a/linux_os/guide/system/accounts/accounts-pam/password_quality/password_quality_pwquality/accounts_password_pam_dictcheck/rule.yml
889f2b
+++ b/linux_os/guide/system/accounts/accounts-pam/password_quality/password_quality_pwquality/accounts_password_pam_dictcheck/rule.yml
889f2b
@@ -39,6 +39,7 @@ ocil: |-
889f2b
     The <tt>dictcheck</tt> parameter should be equal to 1. The value should look like
889f2b
     
dictcheck=1
889f2b
 
889f2b
+platform: pam
889f2b
 
889f2b
 template:
889f2b
     name: accounts_password