Advertisement
Guest User

Untitled

a guest
Jan 25th, 2016
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. <user-mapping>
  2.  
  3. <!-- Per-user authentication and config information -->
  4. <authorize username="USERNAME" password="PASSWORD">
  5. <protocol>vnc</protocol>
  6. <param name="hostname">localhost</param>
  7. <param name="port">5900</param>
  8. <param name="password">VNCPASS</param>
  9. </authorize>
  10.  
  11. <!-- Another user, but using md5 to hash the password
  12. (example below uses the md5 hash of "PASSWORD") -->
  13. <authorize
  14. username="USERNAME2"
  15. password="319f4d26e3c536b5dd871bb2c52e3178"
  16. encoding="md5">
  17.  
  18. <!-- First authorized connection -->
  19. <connection name="localhost">
  20. <protocol>vnc</protocol>
  21. <param name="hostname">localhost</param>
  22. <param name="port">5901</param>
  23. <param name="password">VNCPASS</param>
  24. </connection>
  25.  
  26. <!-- Second authorized connection -->
  27. <connection name="otherhost">
  28. <protocol>vnc</protocol>
  29. <param name="hostname">otherhost</param>
  30. <param name="port">5900</param>
  31. <param name="password">VNCPASS</param>
  32. </connection>
  33.  
  34. </authorize>
  35.  
  36. </user-mapping>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement