UBUNTU24-CIS-Audit/section_5/cis_5.3.2/cis_5.3.2.4.yml

25 lines
529 B
YAML

---
{{ if .Vars.ubtu24cis_level_1 }}
{{ if .Vars.ubtu24cis_rule_5_3_2_4 }}
file:
pam_pwhistory_enabled_common_passwd:
title: 5.3.2.4 | Ensure pam_pwhistory module is enabled
path: /etc/pam.d/common-password
exists: true
contents:
- '/^\s*password\s+(required|requisite)\s+pam_pwhistory.so/'
meta:
server: 1
workstation: 1
CIS_ID:
- 5.3.2.4
CISv8:
- 5.2
CISv8_IG1: true
CISv8_IG2: true
CISv8_IG3: true
NIST800-53R5: NA
{{ end }}
{{ end }}