Removed root group for zabbix user in all images. Using nmap without sudo permissions

This commit is contained in:
Alexey Pustovalov
2024-01-19 00:19:02 +09:00
parent 180c638483
commit bf8b26a5d8
56 changed files with 100 additions and 114 deletions

View File

@ -73,7 +73,6 @@ RUN set -eux && \
--shell /sbin/nologin \
--home /var/lib/zabbix/ \
zabbix && \
adduser zabbix root && \
mkdir -p /etc/zabbix && \
mkdir -p /etc/zabbix/web && \
mkdir -p /etc/zabbix/web/certs && \

View File

@ -66,7 +66,6 @@ RUN set -eux && \
--system \
--comment "Zabbix monitoring system" \
-g zabbix \
-G root \
--uid 1997 \
--shell /sbin/nologin \
--home-dir /var/lib/zabbix/ \

View File

@ -67,7 +67,6 @@ RUN set -eux && \
--system \
--comment "Zabbix monitoring system" \
-g zabbix \
-G root \
--uid 1997 \
--shell /sbin/nologin \
--home-dir /var/lib/zabbix/ \

View File

@ -57,7 +57,6 @@ RUN set -eux && \
--system \
--comment "Zabbix monitoring system" \
-g zabbix \
-G root \
--uid 1997 \
--shell /sbin/nologin \
--home-dir /var/lib/zabbix/ \