summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"