浏览代码

HUE-3672 [doc] Document password script for databases

Romain Rigaux 9 年之前
父节点
当前提交
0d3ac19
共有 2 个文件被更改,包括 6 次插入2 次删除
  1. 3 1
      desktop/conf.dist/hue.ini
  2. 3 1
      desktop/conf/pseudo-distributed.ini.tmpl

+ 3 - 1
desktop/conf.dist/hue.ini

@@ -219,7 +219,7 @@
 
 
     # Login splash HTML code
     # Login splash HTML code
     # e.g. WARNING: You are required to have authorization before you proceed
     # e.g. WARNING: You are required to have authorization before you proceed
-    ## login_splash_html=
+    ## login_splash_html=<h4>GetHue.com</h4><br/><br/>WARNING: You have accessed a computer managed by GetHue. You are required to have authorization from GetHue before you proceed.
 
 
     # Cache timeout in milliseconds for the assist, autocomplete, etc.
     # Cache timeout in milliseconds for the assist, autocomplete, etc.
     # defaults to 86400000 (1 day), set to 0 to disable caching
     # defaults to 86400000 (1 day), set to 0 to disable caching
@@ -482,6 +482,8 @@
     ## port=
     ## port=
     ## user=
     ## user=
     ## password=
     ## password=
+    # Execute this script to produce the database password. This will be used when `password` is not set.
+    ## password_script=/path/script
     ## name=desktop/desktop.db
     ## name=desktop/desktop.db
     ## options={}
     ## options={}
 
 

+ 3 - 1
desktop/conf/pseudo-distributed.ini.tmpl

@@ -223,7 +223,7 @@
 
 
     # Login splash HTML code
     # Login splash HTML code
     # e.g. WARNING: You are required to have authorization before you proceed
     # e.g. WARNING: You are required to have authorization before you proceed
-    ## login_splash_html=
+    ## login_splash_html=<h4>GetHue.com</h4><br/><br/>WARNING: You have accessed a computer managed by GetHue. You are required to have authorization from GetHue before you proceed.
 
 
     # Cache timeout in milliseconds for the assist, autocomplete, etc.
     # Cache timeout in milliseconds for the assist, autocomplete, etc.
     # defaults to 86400000 (1 day), set to 0 to disable caching
     # defaults to 86400000 (1 day), set to 0 to disable caching
@@ -486,6 +486,8 @@
     ## port=
     ## port=
     ## user=
     ## user=
     ## password=
     ## password=
+    # Execute this script to produce the database password. This will be used when `password` is not set.
+    ## password_script=/path/script
     ## name=desktop/desktop.db
     ## name=desktop/desktop.db
     ## options={}
     ## options={}