From 872a5a75c47bc5ff51f525e764943f8d0eabc197 Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Sat, 19 Dec 2020 18:59:37 +0200 Subject: [PATCH] Review zabbix user and group configuration --- server-mysql/centos/Dockerfile | 2 +- server-pgsql/centos/Dockerfile | 2 +- zabbix-appliance/rhel/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server-mysql/centos/Dockerfile b/server-mysql/centos/Dockerfile index 6c263e893..c9aed806e 100644 --- a/server-mysql/centos/Dockerfile +++ b/server-mysql/centos/Dockerfile @@ -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/ \ diff --git a/server-pgsql/centos/Dockerfile b/server-pgsql/centos/Dockerfile index 0ad8e6ee0..96ebc6c8f 100644 --- a/server-pgsql/centos/Dockerfile +++ b/server-pgsql/centos/Dockerfile @@ -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/ \ diff --git a/zabbix-appliance/rhel/Dockerfile b/zabbix-appliance/rhel/Dockerfile index 5f141ee05..f7ff3cf35 100644 --- a/zabbix-appliance/rhel/Dockerfile +++ b/zabbix-appliance/rhel/Dockerfile @@ -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/ \