From 65874c6b43de62ab10082df654d7818922c4b40f Mon Sep 17 00:00:00 2001 From: mofeng-git Date: Tue, 30 Sep 2025 23:53:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20docker=20=E7=89=88?= =?UTF-8?q?=E6=9C=ACVNC=20=E6=9C=8D=E5=8A=A1=E6=9D=83=E9=99=90=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/Dockerfile | 2 ++ configs/kvmd/vncpasswd | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/build/Dockerfile b/build/Dockerfile index 81b28a9b..ef333fcb 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -110,6 +110,8 @@ RUN sed -i 's/deb.debian.org/mirrors.tuna.tsinghua.edu.cn/' /etc/apt/sources.lis /run/kvmd \ /tmp/kvmd-nginx \ && touch /run/kvmd/ustreamer.sock \ + && groupadd kvmd-selfauth \ + && usermod -a -G kvmd-selfauth root \ && apt clean \ && rm -rf /var/lib/apt/lists/* \ && rm -rf /tmp/lib /tmp/wheel \ diff --git a/configs/kvmd/vncpasswd b/configs/kvmd/vncpasswd index 6c1967a0..66195bdf 100644 --- a/configs/kvmd/vncpasswd +++ b/configs/kvmd/vncpasswd @@ -6,4 +6,4 @@ # # NEVER use the same passwords for KVMD, IPMI and VNCAuth users. -admin +admin -> admin:admin