Added chgrp to visudo
parent
0b96b7e56d
commit
2785683646
|
@ -24,7 +24,7 @@ RUN sed -i -e "s/^<VirtualHost \*:80>$/<VirtualHost *:${LISTEN_PORT}>/" \
|
||||||
/etc/apache2/sites-available/000-default.conf
|
/etc/apache2/sites-available/000-default.conf
|
||||||
|
|
||||||
# Allow http user to run these binaries as root with sudo
|
# 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
|
| sudo EDITOR='tee -a' visudo
|
||||||
|
|
||||||
# Copy over cgi and libs
|
# Copy over cgi and libs
|
||||||
|
|
Loading…
Reference in New Issue