From 1c17e177385c43efd8279da460eea97b9d898756 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 3 Jul 2023 18:16:36 +0200 Subject: [SSPS] Update sudoers file for Taskmanager --- .../static_files/taskmanager/etc/sudoers.d/taskmanager | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/satellit_installer/static_files/taskmanager/etc/sudoers.d/taskmanager b/satellit_installer/static_files/taskmanager/etc/sudoers.d/taskmanager index b34bf9f..d4c0745 100644 --- a/satellit_installer/static_files/taskmanager/etc/sudoers.d/taskmanager +++ b/satellit_installer/static_files/taskmanager/etc/sudoers.d/taskmanager @@ -8,5 +8,13 @@ taskmanager ALL=(root) NOPASSWD: /opt/taskmanager/scripts/system-backup taskmanager ALL=(root) NOPASSWD: /opt/taskmanager/scripts/system-restore taskmanager ALL=(root) NOPASSWD: /opt/taskmanager/scripts/install-https taskmanager ALL=(root) NOPASSWD: /opt/taskmanager/scripts/ldadp-setperms +taskmanager ALL=(root) NOPASSWD: /usr/bin/apt-get -y install -f +taskmanager ALL=(root) NOPASSWD: /usr/bin/apt-get -y upgrade +taskmanager ALL=(root) NOPASSWD: /usr/bin/apt-get -y full-upgrade +taskmanager ALL=(root) NOPASSWD: /usr/bin/apt-get -y update +taskmanager ALL=(root) NOPASSWD: /usr/bin/apt-get -y autoremove +taskmanager ALL=(root) NOPASSWD: /usr/bin/apt-get --assume-no full-upgrade +taskmanager ALL=(root) NOPASSWD: /usr/bin/apt list --upgradable ALL ALL=(www-data) NOPASSWD: /usr/local/bin/slxlog -Defaults env_keep += "TM_*" +Defaults env_keep+="TM_* LANG LC_*" +Defaults!/usr/bin/apt-get env_keep+="DEBIAN_FRONTEND" -- cgit v1.2.3-55-g7522