mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-08 09:14:10 +01:00
VNC Docker startup: use new kasmvncpasswd with multiple users support
This commit is contained in:
parent
9084409a20
commit
e9626fdacf
@ -40,7 +40,7 @@ VNC_IP=$(hostname -i)
|
||||
# first entry is control, second is view (if only one is valid for both)
|
||||
mkdir -p "$HOME/.vnc"
|
||||
PASSWD_PATH="$HOME/.vnc/passwd"
|
||||
echo "$VNC_PW" | kasmvncpasswd -f > $HOME/.kasmpasswd
|
||||
kasmvncpasswd -w -u $VNC_USER $HOME/.kasmpasswd
|
||||
chmod 0600 $HOME/.kasmpasswd
|
||||
openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout $HOME/.vnc/self.pem -out $HOME/.vnc/self.pem -subj "/C=US/ST=VA/L=None/O=None/OU=DoFu/CN=kasm/emailAddress=none@none.none"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user