Mention that password file must reside in logbook directory
SVN revision: 1744
This commit is contained in:
+37
-12
@@ -104,7 +104,7 @@ Use Mail Subject = Location
|
||||
<li>
|
||||
<b><code>Resource dir = <directory></code></b><br>
|
||||
Specifies the root directory for ELOG resources like help files,
|
||||
themes, icons and user HTML files. Can be overwritten with the
|
||||
themes and icons. Can be overwritten with the
|
||||
<b><code>-s</code></b> flag when starting elogd. If not specified, use
|
||||
the directory where the configuration file
|
||||
<b><code>elogd.cfg</code></b> resides. <i>Changing this option requires
|
||||
@@ -118,7 +118,8 @@ Use Mail Subject = Location
|
||||
<b><code>elogd.cfg</code></b> resides. Each logbook data is stored in a
|
||||
separate directory under this root directory specified by the
|
||||
<b><code>Subdir</code></b> option. <i>Changing this option requires a
|
||||
restart of the elogd server</i>.
|
||||
restart of the elogd server</i>. This directory also contains any
|
||||
password file and user HTML file.
|
||||
</li>
|
||||
<li>
|
||||
<b><code>Language = <name></code></b><br>
|
||||
@@ -621,7 +622,7 @@ Start page = ?cmd=Find
|
||||
<h1>You successfully submitted a message</h1>
|
||||
<a href="?cmd=Back">Back</a> to the logbook<p>
|
||||
<a href="?cmd=New">Enter</a> another message
|
||||
</pre>The file must be present in the resource directory. Alternatively, an
|
||||
</pre>The file must be present in the logbook directory. Alternatively, an
|
||||
absolute path can be used if the file name starts with a
|
||||
<b><code>"/"</code></b> (Unix) or <b><code>"\"</code></b> or
|
||||
<b><code>"x:"</code></b> (Windows).
|
||||
@@ -1054,7 +1055,7 @@ XYZ-2005-Nov-002
|
||||
<li>
|
||||
<b><code>Preset text = <string> or <file></code></b><br>
|
||||
This preset value is used for the main body text. It can be a string or
|
||||
a file, which must be present in the resource directory. Alternatively,
|
||||
a file, which must be present in the logbook directory. Alternatively,
|
||||
an absolute path can be used if the file name starts with a
|
||||
<b><code>"/"</code></b> (Unix) or <b><code>"\"</code></b> or
|
||||
<b><code>"x:"</code></b> (Windows).
|
||||
@@ -1770,15 +1771,38 @@ Options Location = Main Building{a}, New Building{b}, Old Building{c}
|
||||
<p>
|
||||
An alternative to the read/write/admin passwords is the user level access
|
||||
with a password file. This file contains user names and passwords in
|
||||
following format:
|
||||
XML format, such as
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<pre>
|
||||
<login name1>:<password1>:<full name1>:<email1>:<notify1>
|
||||
<login name2>:<password2>:<full name2>:<email2>:<notify2>
|
||||
<login name3>:<password3>:<full name3>:<email3>:<notify3>
|
||||
...
|
||||
<pre>
|
||||
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!-- created by MXML on Tue Nov 07 08:15:51 2006 -->
|
||||
<list>
|
||||
<user>
|
||||
<name>stefan</name>
|
||||
<password>A1kk838Kjl==</password>
|
||||
<full_name>Stefan Ritt</full_name>
|
||||
<last_logout>Tue Oct 17 12:59:47 2006</last_logout>
|
||||
<last_activity>Tue Nov 07 08:15:51 2006</last_activity>
|
||||
<email>stefan.ritt@psi.ch</email>
|
||||
<email_notify>
|
||||
<logbook>demo</logbook>
|
||||
</email_notify>
|
||||
</user>
|
||||
<user>
|
||||
<name>midas</name>
|
||||
<password>P387sdkK98ko98==</password>
|
||||
<full_name>Midas User</full_name>
|
||||
<last_logout>0</last_logout>
|
||||
<last_activity>0</last_activity>
|
||||
<email>midas@psi.ch</email>
|
||||
<email_notify>
|
||||
<logbook>demo</logbook>
|
||||
</email_notify>
|
||||
</user>
|
||||
</list>
|
||||
|
||||
</pre>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -1786,7 +1810,8 @@ Options Location = Main Building{a}, New Building{b}, Old Building{c}
|
||||
The passwords are encoded. New users can either be created by hitting
|
||||
<b>Register as new user</b> on the login page if <b><code>Self register =
|
||||
1</code></b> in the configuration file, or by the admin user in the
|
||||
<b>Config</b> page by pressing <b>New user</b>. When a user is logged it,
|
||||
<b>Config</b> page by pressing <b>New user</b>. The password file resides
|
||||
in the same directory as the logbooks. When a user is logged it,
|
||||
the entry for this user can be modified via the <b>Config</b> command.
|
||||
</p>
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user