From 2785683646c53ff9c7d54f5601f348ab05a8e627 Mon Sep 17 00:00:00 2001 From: Keith Irwin Date: Mon, 7 Nov 2022 11:37:17 -0700 Subject: [PATCH] Added chgrp to visudo --- back/dashboard.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/back/dashboard.Dockerfile b/back/dashboard.Dockerfile index e99fd02..542c896 100644 --- a/back/dashboard.Dockerfile +++ b/back/dashboard.Dockerfile @@ -24,7 +24,7 @@ RUN sed -i -e "s/^$//" \ /etc/apache2/sites-available/000-default.conf # Allow http user to run these binaries as root with sudo -RUN echo "www-data ALL=(ALL:ALL) NOPASSWD: /usr/bin/wg, /usr/bin/openssl, /usr/bin/[, /usr/bin/tee, /bin/cat, /bin/mkdir, /bin/rm, /bin/chmod" \ +RUN echo "www-data ALL=(ALL:ALL) NOPASSWD: /usr/bin/wg, /usr/bin/openssl, /usr/bin/[, /usr/bin/tee, /bin/cat, /bin/mkdir, /bin/rm, /bin/chmod, /bin/chgrp" \ | sudo EDITOR='tee -a' visudo # Copy over cgi and libs