Don't use setuid on chkmq*
Also add new tests for chkmqhealthy and privileges
This commit is contained in:
committed by
Arthur J Barr
parent
94ad66661e
commit
e8d26aa79e
@@ -98,7 +98,7 @@ COPY web /etc/mqm/web
|
||||
COPY etc/mqm/*.tpl /etc/mqm/
|
||||
RUN chmod ug+x /usr/local/bin/runmqserver \
|
||||
&& chown 1001:root /usr/local/bin/*mq* \
|
||||
&& chmod ug+xs /usr/local/bin/chkmq* \
|
||||
&& chmod ug+x /usr/local/bin/chkmq* \
|
||||
&& chown -R 1001:root /etc/mqm/* \
|
||||
&& install --directory --mode 2775 --owner 1001 --group root /run/runmqserver \
|
||||
&& touch /run/termination-log \
|
||||
|
||||
Reference in New Issue
Block a user