Gramma and tss user check

Signed-off-by: Kristian <kris9854@gmail.com>
This commit is contained in:
Kristian Ebdrup 2022-09-26 19:59:41 +02:00 committed by Kristian
parent 5098beec03
commit 3a24e5f161
8 changed files with 12 additions and 14 deletions

View file

@ -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"