|
|
2b7fd2 |
From 51b6c4c3476608e298c65d402f6d897f1dd6b1aa Mon Sep 17 00:00:00 2001
|
|
|
2b7fd2 |
From: Watson Sato <wsato@redhat.com>
|
|
|
2b7fd2 |
Date: Wed, 10 Apr 2019 17:57:39 +0200
|
|
|
2b7fd2 |
Subject: [PATCH] Set various platform package CPE
|
|
|
2b7fd2 |
|
|
|
2b7fd2 |
---
|
|
|
2b7fd2 |
.../accounts_password_pam_maxrepeat.rule | 2 ++
|
|
|
2b7fd2 |
.../accounts-session/accounts_have_homedir_login_defs.rule | 2 ++
|
|
|
2b7fd2 |
.../restrictions/coredumps/disable_users_coredumps.rule | 2 ++
|
|
|
2b7fd2 |
3 files changed, 6 insertions(+)
|
|
|
2b7fd2 |
|
|
|
2b7fd2 |
diff --git a/linux_os/guide/system/accounts/accounts-pam/password_quality/password_quality_pwquality/accounts_password_pam_maxrepeat.rule b/linux_os/guide/system/accounts/accounts-pam/password_quality/password_quality_pwquality/accounts_password_pam_maxrepeat.rule
|
|
|
2b7fd2 |
index d23b1d99d0..925288b4f3 100644
|
|
|
2b7fd2 |
--- a/linux_os/guide/system/accounts/accounts-pam/password_quality/password_quality_pwquality/accounts_password_pam_maxrepeat.rule
|
|
|
2b7fd2 |
+++ b/linux_os/guide/system/accounts/accounts-pam/password_quality/password_quality_pwquality/accounts_password_pam_maxrepeat.rule
|
|
|
2b7fd2 |
@@ -46,3 +46,5 @@ ocil: |-
|
|
|
2b7fd2 |
$ grep maxrepeat /etc/security/pwquality.conf
|
|
|
2b7fd2 |
Look for the value of the <tt>maxrepeat</tt> parameter. The DoD requirement is 3, which would appear as
|
|
|
2b7fd2 |
<tt>maxrepeat=3</tt>.
|
|
|
2b7fd2 |
+
|
|
|
2b7fd2 |
+platform: pam
|
|
|
2b7fd2 |
diff --git a/linux_os/guide/system/accounts/accounts-session/accounts_have_homedir_login_defs.rule b/linux_os/guide/system/accounts/accounts-session/accounts_have_homedir_login_defs.rule
|
|
|
2b7fd2 |
index 300f409ca3..215565460c 100644
|
|
|
2b7fd2 |
--- a/linux_os/guide/system/accounts/accounts-session/accounts_have_homedir_login_defs.rule
|
|
|
2b7fd2 |
+++ b/linux_os/guide/system/accounts/accounts-session/accounts_have_homedir_login_defs.rule
|
|
|
2b7fd2 |
@@ -32,3 +32,5 @@ ocil: |-
|
|
|
2b7fd2 |
|
|
|
2b7fd2 |
$ sudo grep create_home /etc/login.defs
|
|
|
2b7fd2 |
|
|
|
2b7fd2 |
+
|
|
|
2b7fd2 |
+platform: shadow-utils
|
|
|
2b7fd2 |
diff --git a/linux_os/guide/system/permissions/restrictions/coredumps/disable_users_coredumps.rule b/linux_os/guide/system/permissions/restrictions/coredumps/disable_users_coredumps.rule
|
|
|
2b7fd2 |
index 99c2521afa..0e30d0d7ee 100644
|
|
|
2b7fd2 |
--- a/linux_os/guide/system/permissions/restrictions/coredumps/disable_users_coredumps.rule
|
|
|
2b7fd2 |
+++ b/linux_os/guide/system/permissions/restrictions/coredumps/disable_users_coredumps.rule
|
|
|
2b7fd2 |
@@ -37,3 +37,5 @@ ocil: |-
|
|
|
2b7fd2 |
$ grep core /etc/security/limits.conf
|
|
|
2b7fd2 |
The output should be:
|
|
|
2b7fd2 |
* hard core 0
|
|
|
2b7fd2 |
+
|
|
|
2b7fd2 |
+platform: pam
|