ansible-lockdown / UBUNTU22-CIS

Ansible role for Ubuntu22 CIS Baseline
https://ansible-lockdown.readthedocs.io/en/latest/
MIT License
181 stars 80 forks source link

🐛(R4.1.3.12): Change wrong /var/log/faillog to /var/run/faillock #99

Closed raabf closed 1 year ago

raabf commented 1 year ago

Overall Review of Changes: /var/log/faillog → /var/run/faillock

Issue Fixes: N/A

Enhancements: I think this is a transition error from an old implementation. In CIS Ubuntu 20.04 v1.1 it was still /var/log/faillog, but in CIS Ubuntu 20.04 v2.0 it has changed to /var/run/faillock and hence in CIS Ubuntu 22.04 v1.0 it is also /var/run/faillock.

How has this been tested?:

Executed the task, the /etc/audit/rules.d/99_auditd.rules is correctly generated, and sudo auditctl -l showed that it was loaded.