Skip to content

Commit ae615bc

Browse files
authored
Remove spurious blank lines from rule.yml
Signed-off-by: HSP18SCM23P <38229980+HSP18SCM23P@users.noreply.github.com>
1 parent fa1295c commit ae615bc

1 file changed

Lines changed: 31 additions & 15 deletions

File tree

  • linux_os/guide/system/accounts/accounts-physical/screen_locking/smart_card_login/verify_use_mappers
Lines changed: 31 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,44 @@
11
documentation_complete: true
22

3-
title: Ensure Password History Is Enforced for the Root User
3+
4+
title: "Verify that 'use_mappers' is set to 'pwent' in PAM"
45

56
description: |-
6-
The <tt>enforce_for_root</tt> option enforces password history for the root user.
7-
Enable the <tt>enforce_for_root</tt> setting in <tt>/etc/security/pwhistory.conf</tt>
8-
to require the <tt>root</tt> user to use a password that has not been used recently.
7+
The operating system must map the authenticated identity to the user or
8+
group account for PKI-based authentication.
9+
10+
Verify that <tt>use_mappers</tt> is set to <tt>pwent</tt> in
11+
<tt>/etc/pam_pkcs11/pam_pkcs11.conf</tt> file with the following command:
12+
13+
<pre>$ grep ^use_mappers /etc/pam_pkcs11/pam_pkcs11.conf
14+
15+
use_mappers = pwent</pre>
916
1017
rationale: |-
11-
Requiring users not to reuse their passwords make it less likely that an attacker will be
12-
able to guess the password or use a compromised password.
18+
Without mapping the certificate used to authenticate to the user account,
19+
the ability to determine the identity of the individual user or group will
20+
not be available for forensic analysis.
21+
22+
severity: low
23+
24+
references:
25+
srg: SRG-OS-000068-GPOS-00036
26+
27+
ocil_clause: 'use_mappers is not uncommented or configured correctly'
1328

14-
identifiers:
15-
cce@rhel8: CCE-86734-1
16-
cce@rhel9: CCE-86742-4
17-
cce@rhel10: CCE-87591-4
29+
ocil: |-
30+
Verify that <tt>use_mappers</tt> is set to <tt>pwent</tt> in
31+
<tt>/etc/pam_pkcs11/pam_pkcs11.conf</tt> file with the following command:
1832
19-
severity: medium
33+
<pre>$ grep ^use_mappers /etc/pam_pkcs11/pam_pkcs11.conf
2034
21-
platform: package[pam]
35+
use_mappers = pwent</pre>
2236
2337
template:
2438
name: lineinfile
2539
vars:
26-
text: "enforce_for_root"
27-
regex: '^[\s]*enforce_for_root\b'
28-
path: "/etc/security/pwhistory.conf"
40+
text: "use_mappers = pwent"
41+
regex: '^[\s]*use_mappers[\s]*=[\s]*pwent\b'
42+
path: /etc/pam_pkcs11/pam_pkcs11.conf
43+
oval_extended_definitions:
44+
smartcard_configure_cert_checking

0 commit comments

Comments
 (0)