Review zabbix user and group configuration

This commit is contained in:
Alexey Pustovalov 2020-12-19 18:59:37 +02:00
parent 4e13e98344
commit 872a5a75c4
3 changed files with 3 additions and 3 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/ \

View File

@ -85,7 +85,7 @@ RUN INSTALL_PKGS="OpenIPMI-libs \
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/ \