Skip to content

Commit 65874c6

Browse files
author
mofeng-git
committed
fix: 修复 docker 版本VNC 服务权限问题
1 parent 67b943c commit 65874c6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

build/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ RUN sed -i 's/deb.debian.org/mirrors.tuna.tsinghua.edu.cn/' /etc/apt/sources.lis
110110
/run/kvmd \
111111
/tmp/kvmd-nginx \
112112
&& touch /run/kvmd/ustreamer.sock \
113+
&& groupadd kvmd-selfauth \
114+
&& usermod -a -G kvmd-selfauth root \
113115
&& apt clean \
114116
&& rm -rf /var/lib/apt/lists/* \
115117
&& rm -rf /tmp/lib /tmp/wheel \

configs/kvmd/vncpasswd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
#
77
# NEVER use the same passwords for KVMD, IPMI and VNCAuth users.
88

9-
admin
9+
admin -> admin:admin

0 commit comments

Comments
 (0)