forked from ansible-lockdown/RHEL9-CIS
tss user and spacing
Signed-off-by: Kristian <kris9854@gmail.com>
This commit is contained in:
parent
5098beec03
commit
fc407f8329
8 changed files with 12 additions and 14 deletions
|
|
@ -296,7 +296,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'
|
||||
|
|
@ -343,7 +343,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