summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2023-07-03 18:16:36 +0200
committerSimon Rettberg2023-07-03 18:16:36 +0200
commit1c17e177385c43efd8279da460eea97b9d898756 (patch)
treea0a75f4d0afed0cc0855afa8b82b2f9b9a59f077
parent[SSPS] Limit tftp trnasfer port range (diff)
downloadsetup-scripts-1c17e177385c43efd8279da460eea97b9d898756.tar.gz
setup-scripts-1c17e177385c43efd8279da460eea97b9d898756.tar.xz
setup-scripts-1c17e177385c43efd8279da460eea97b9d898756.zip
[SSPS] Update sudoers file for Taskmanager
-rw-r--r--satellit_installer/static_files/taskmanager/etc/sudoers.d/taskmanager10
1 files changed, 9 insertions, 1 deletions
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"