From 61a4fabac9f0ef1a0263574f31dfba6d576169b6 Mon Sep 17 00:00:00 2001 From: Tim Eertmoed Date: Fri, 8 Nov 2024 12:40:54 +0100 Subject: [PATCH] install.sh aktualisiert --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 9344671..fb88980 100644 --- a/install.sh +++ b/install.sh @@ -73,8 +73,8 @@ sudo adduser --disabled-password --gecos "" loginuser >>/var/log/install 2>&1 && echo -e "${RED}→${NC} Setting permissions for 'loginuser'..." | tee -a /var/log/install sudo tee /etc/sudoers.d/loginuser >/dev/null << 'EOF' -loginuser ALL=(ALL) NOPASSWD: /usr/bin/systemctl start watchdog, /usr/bin/systemctl stop watchdog, /usr/bin/systemctl restart watchdog -loginuser ALL=(ALL) NOPASSWD: /usr/bin/systemctl stop watchdog-monitor +loginuser ALL=(ALL) NOPASSWD: /usr/bin/systemctl stop chromium-monitor, /usr/bin/systemctl start chromium-monitor +loginuser ALL=(ALL) NOPASSWD: /usr/bin/systemctl stop watchdog-monitor, /usr/bin/systemctl start watchdog-monitor loginuser ALL=(ALL) NOPASSWD: /usr/bin/cat /var/lib/dhcp/* loginuser ALL=(ALL) NOPASSWD: /usr/bin/cp /etc/watchdog.conf /etc/watchdog.conf.bak loginuser ALL=(ALL) NOPASSWD: /usr/bin/tee /etc/watchdog.conf, /usr/bin/tee -a /etc/watchdog.conf