Review zabbix user and group configuration

This commit is contained in:
Alexey Pustovalov 2020-12-19 19:03:29 +02:00
parent 872a5a75c4
commit 8f2bcc4518
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ RUN set -eux && \
groupadd --system --gid 1995 zabbix && \
useradd \
--system --comment "Zabbix monitoring system" \
-g zabbix -G root -G dialout \
-g zabbix -G root,dialout \
--uid 1997 \
--shell /sbin/nologin \
--home-dir /var/lib/zabbix/ \

View File

@ -15,7 +15,7 @@ RUN set -eux && \
groupadd --system --gid 1995 zabbix && \
useradd \
--system --comment "Zabbix monitoring system" \
-g zabbix -G root -G dialout \
-g zabbix -G root,dialout \
--uid 1997 \
--shell /sbin/nologin \
--home-dir /var/lib/zabbix/ \