mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-04-01 18:56:06 +02:00
Review zabbix user and group configuration
This commit is contained in:
parent
872a5a75c4
commit
8f2bcc4518
@ -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/ \
|
||||||
|
Loading…
Reference in New Issue
Block a user