From 86920698a96bfb9e9a95904800c72309bfb469d1 Mon Sep 17 00:00:00 2001 From: spektr Date: Fri, 27 Nov 2026 07:10:00 +0100 Subject: [PATCH] CT 114: allowusers-Assertion an zeilenweise sshd -T-Ausgabe angepasst MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit sshd -T listet jeden allowusers-Eintrag auf eigener Zeile; Audit prüft jetzt drei einzelne Zeilen statt einer kombinierten. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe --- .../ansible/playbooks/audit-production.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/proxmox/lxc/ct-114-litecoin-wallet/ansible/playbooks/audit-production.yml b/proxmox/lxc/ct-114-litecoin-wallet/ansible/playbooks/audit-production.yml index dac5f78..3a3d400 100644 --- a/proxmox/lxc/ct-114-litecoin-wallet/ansible/playbooks/audit-production.yml +++ b/proxmox/lxc/ct-114-litecoin-wallet/ansible/playbooks/audit-production.yml @@ -94,7 +94,9 @@ - litecoin_audit_sshd.stdout is search('(?m)^kbdinteractiveauthentication no$') - litecoin_audit_sshd.stdout is search('(?m)^allowtcpforwarding no$') - litecoin_audit_sshd.stdout is search('(?m)^disableforwarding yes$') - - litecoin_audit_sshd.stdout is search('(?m)^allowusers ghost-agent ghost ansible-deploy$') + - "litecoin_audit_sshd.stdout is search('(?m)^allowusers ghost-agent$')" + - "litecoin_audit_sshd.stdout is search('(?m)^allowusers ghost$')" + - "litecoin_audit_sshd.stdout is search('(?m)^allowusers ansible-deploy$')" - name: Read the fail2ban jail list ansible.builtin.command: