mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-06-26 04:31:23 +02:00
vncserver: print configured Kasm users
This commit is contained in:
parent
a0f09dea15
commit
db2901e673
@ -127,7 +127,7 @@ unless (&IsXvncRunning()) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
warn "\nNew '$desktopName' desktop is $host:$displayNumber\n";
|
warn "\nNew '$desktopName' desktop is $host:$displayNumber\n";
|
||||||
warn "\nUsername: $vncUserName\n\n";
|
&PrintKasmUsers();
|
||||||
warn "Log file is $desktopLog\n\n";
|
warn "Log file is $desktopLog\n\n";
|
||||||
|
|
||||||
if (! $skipxstartup) {
|
if (! $skipxstartup) {
|
||||||
@ -1028,3 +1028,11 @@ sub CreateUserConfigIfNeeded {
|
|||||||
close(VNCUSERCONFIG);
|
close(VNCUSERCONFIG);
|
||||||
chmod 0644, "$vncUserDir/config";
|
chmod 0644, "$vncUserDir/config";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub PrintKasmUsers {
|
||||||
|
warn "\nUsers configured:\n";
|
||||||
|
foreach my $user (@kasmPasswdUsers) {
|
||||||
|
warn "$user\n";
|
||||||
|
}
|
||||||
|
warn "\n";
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user