From 55a4991f66c4626d5517cca8c084270e199be72b Mon Sep 17 00:00:00 2001 From: Viktor Berke Date: Sat, 4 Mar 2023 14:43:27 +0100 Subject: [PATCH] Allow steam user to turn firewalld logging on and off Refs #70 Refs #73 --- roles/install/files/kf2-sudo | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/install/files/kf2-sudo b/roles/install/files/kf2-sudo index d385918..00b6723 100644 --- a/roles/install/files/kf2-sudo +++ b/roles/install/files/kf2-sudo @@ -4,3 +4,6 @@ %steam ALL=NOPASSWD: /bin/systemctl status kf2.service %steam ALL=NOPASSWD: /bin/journalctl --system --unit=kf2.service --follow %steam ALL=NOPASSWD: /bin/systemctl daemon-reload +%steam ALL=NOPASSWD: /usr/bin/firewall-cmd --get-log-denied +%steam ALL=NOPASSWD: /usr/bin/firewall-cmd --set-log-denied=all +%steam ALL=NOPASSWD: /usr/bin/firewall-cmd --set-log-denied=off