mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-27 23:43:06 +00:00
Gramma Fix and fix to tss and nobody user
Signed-off-by: Kristian Ebdrup <kris9854@gmail.com>
This commit is contained in:
parent
d3477e2407
commit
04324e049d
3 changed files with 8 additions and 8 deletions
|
|
@ -285,7 +285,7 @@
|
|||
- ssh
|
||||
- rule_5.2.14
|
||||
|
||||
- name: "5.2.15 | PATCH | Ensure SSH warning banner is configured"
|
||||
- name: "5.2.15 | PATCH | Ensure SSH warning banner is configured"
|
||||
lineinfile:
|
||||
path: /etc/ssh/sshd_config
|
||||
regexp: '^Banner'
|
||||
|
|
@ -332,7 +332,7 @@
|
|||
- ssh
|
||||
- rule_5.2.17
|
||||
|
||||
- name: "5.2.18 | PATCH | Ensure SSH MaxSessions is set to 10 or less"
|
||||
- name: "5.2.18 | PATCH | Ensure SSH MaxSessions is set to 10 or less"
|
||||
lineinfile:
|
||||
path: /etc/ssh/sshd_config
|
||||
regexp: "^#MaxSessions|^MaxSessions"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue