From ecb5a9a44de58eff87ad7a2022c4f984d0c9dbb1 Mon Sep 17 00:00:00 2001 From: Mike Teehan Date: Mon, 25 May 2026 01:03:30 +0000 Subject: [PATCH] fix: escape colon in sudoers chown argument The colon in root:root was interpreted as a sudoers runas separator, causing a syntax error. --- system/sudoers.d/vacuum-wall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/sudoers.d/vacuum-wall b/system/sudoers.d/vacuum-wall index f4c49f2..2ae4853 100644 --- a/system/sudoers.d/vacuum-wall +++ b/system/sudoers.d/vacuum-wall @@ -13,7 +13,7 @@ Defaults:{{ USER_NAME }} secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/ {{ USER_NAME }} ALL=(root) NOPASSWD: /usr/bin/cp -- * /etc/nginx/snippets/ {{ USER_NAME }} ALL=(root) NOPASSWD: /usr/bin/rm /etc/nginx/conf.d/vacuum-wall.conf {{ USER_NAME }} ALL=(root) NOPASSWD: /usr/bin/rm /etc/nginx/snippets/vacuum-wall-ssl.conf -{{ USER_NAME }} ALL=(root) NOPASSWD: /usr/bin/chown root:root /etc/nginx/snippets/vacuum-wall-ssl.conf +{{ USER_NAME }} ALL=(root) NOPASSWD: /usr/bin/chown root\:root /etc/nginx/snippets/vacuum-wall-ssl.conf # Dnsmasq management {{ USER_NAME }} ALL=(root) NOPASSWD: /usr/bin/systemctl reload dnsmasq