UBUNTU24-CIS-Audit/section_7/cis_7.2/cis_7.2.1.yml

25 lines
459 B
YAML

---
{{ if .Vars.ubtu24cis_level_1 }}
{{ if .Vars.ubtu24cis_rule_7_2_1 }}
file:
shadowed_passwds:
title: 7.2.1 | Ensure accounts in /etc/passwd use shadowed passwords
path: /etc/passwd
exists: true
contents:
- '/^.*:x:/'
meta:
server: 1
workstation: 1
CIS_ID:
- 7.2.1
CISv8: 3.11
CISv8_IG1: true
CISv8_IG2: true
CISv8_IG3: true
NIST800-53R5:
- IA-5
{{ end }}
{{ end }}