-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f235171
commit 0c279c6
Showing
1 changed file
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
<user-mapping> | ||
|
||
<!-- Per-user authentication and config information --> | ||
<authorize username="USERNAME" password="PASSWORD"> | ||
<protocol>vnc</protocol> | ||
<param name="hostname">localhost</param> | ||
<param name="port">5900</param> | ||
<param name="password">VNCPASS</param> | ||
</authorize> | ||
<!-- Per-user authentication and config information --> | ||
<authorize username="USERNAME" password="PASSWORD"> | ||
<protocol>vnc</protocol> | ||
<param name="hostname">localhost</param> | ||
<param name="port">5900</param> | ||
<param name="password">VNCPASS</param> | ||
</authorize> | ||
|
||
<!-- Another user, but using md5 to hash the password | ||
(example below uses the md5 hash of "PASSWORD") --> | ||
<authorize | ||
username="USERNAME2" | ||
password="319f4d26e3c536b5dd871bb2c52e3178" | ||
encoding="md5"> | ||
<protocol>vnc</protocol> | ||
<param name="hostname">localhost</param> | ||
<param name="port">5901</param> | ||
<param name="password">VNCPASS</param> | ||
</authorize> | ||
<protocol>vnc</protocol> | ||
<param name="hostname">localhost</param> | ||
<param name="port">5901</param> | ||
<param name="password">VNCPASS</param> | ||
</authorize> | ||
|
||
</user-mapping> |