mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-02-02 10:59:18 +01:00
Review zabbix user and group configuration
This commit is contained in:
parent
4e13e98344
commit
872a5a75c4
@ -15,7 +15,7 @@ RUN set -eux && \
|
|||||||
groupadd --system --gid 1995 zabbix && \
|
groupadd --system --gid 1995 zabbix && \
|
||||||
useradd \
|
useradd \
|
||||||
--system --comment "Zabbix monitoring system" \
|
--system --comment "Zabbix monitoring system" \
|
||||||
-g zabbix -G root -G dialout \
|
-g zabbix -G root,dialout \
|
||||||
--uid 1997 \
|
--uid 1997 \
|
||||||
--shell /sbin/nologin \
|
--shell /sbin/nologin \
|
||||||
--home-dir /var/lib/zabbix/ \
|
--home-dir /var/lib/zabbix/ \
|
||||||
|
@ -15,7 +15,7 @@ RUN set -eux && \
|
|||||||
groupadd --system --gid 1995 zabbix && \
|
groupadd --system --gid 1995 zabbix && \
|
||||||
useradd \
|
useradd \
|
||||||
--system --comment "Zabbix monitoring system" \
|
--system --comment "Zabbix monitoring system" \
|
||||||
-g zabbix -G root -G dialout \
|
-g zabbix -G root,dialout \
|
||||||
--uid 1997 \
|
--uid 1997 \
|
||||||
--shell /sbin/nologin \
|
--shell /sbin/nologin \
|
||||||
--home-dir /var/lib/zabbix/ \
|
--home-dir /var/lib/zabbix/ \
|
||||||
|
@ -85,7 +85,7 @@ RUN INSTALL_PKGS="OpenIPMI-libs \
|
|||||||
groupadd --system --gid 1995 zabbix && \
|
groupadd --system --gid 1995 zabbix && \
|
||||||
useradd \
|
useradd \
|
||||||
--system --comment "Zabbix monitoring system" \
|
--system --comment "Zabbix monitoring system" \
|
||||||
-g zabbix -G root -G dialout \
|
-g zabbix -G root,dialout \
|
||||||
--uid 1997 \
|
--uid 1997 \
|
||||||
--shell /sbin/nologin \
|
--shell /sbin/nologin \
|
||||||
--home-dir /var/lib/zabbix/ \
|
--home-dir /var/lib/zabbix/ \
|
||||||
|
Loading…
Reference in New Issue
Block a user