mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-27 15:33:06 +00:00
Merge branch 'siemens/feat/ensure_default_umask_027_5_6_5' into 'siemens/rhel9/devel'
Fix sintax Error on cis_5.2.x.yml See merge request infosec-pss-gov/security-crafter-baseline-automations/ansible-lockdown/rhel9-cis!5
This commit is contained in:
commit
29828974d0
2 changed files with 2 additions and 3 deletions
|
|
@ -361,7 +361,7 @@
|
|||
- name: "5.2.20 | PATCH | Ensure SSH Idle Timeout Interval is configured | Ensure SSH ClientAliveCountMax set to <= 3"
|
||||
ansible.builtin.lineinfile:
|
||||
path: "{{ rhel9_cis_sshd_config_file }}"
|
||||
regexp: '^ClientAliveCountMax'
|
||||
regexp: '^ClientAliveCountMax|^#ClientAliveCountMax'
|
||||
line: "ClientAliveCountMax {{ rhel9cis_sshd['clientalivecountmax'] }}"
|
||||
validate: sshd -t -f %s
|
||||
when:
|
||||
|
|
|
|||
|
|
@ -103,7 +103,6 @@
|
|||
path: /etc/pam.d/system-auth
|
||||
line: 'session required pam_umask.so'
|
||||
insertafter: EOF
|
||||
|
||||
when:
|
||||
- rhel9cis_rule_5_6_5
|
||||
tags:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue