From 8d782aa68634ef5448686739e75e3f0ef3fe1571 Mon Sep 17 00:00:00 2001
From: Stefan Ritt
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
Resource dir = <directory>
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
-s flag when starting elogd. If not specified, use
the directory where the configuration file
elogd.cfg resides. Changing this option requires
@@ -118,7 +118,8 @@ Use Mail Subject = Location
elogd.cfg resides. Each logbook data is stored in a
separate directory under this root directory specified by the
Subdir option. Changing this option requires a
- restart of the elogd server.
+ restart of the elogd server. This directory also contains any
+ password file and user HTML file.
Language = <name>
@@ -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
-The file must be present in the resource directory. Alternatively, an
+The file must be present in the logbook directory. Alternatively, an
absolute path can be used if the file name starts with a
"/" (Unix) or "\" or
"x:" (Windows).
@@ -1054,7 +1055,7 @@ XYZ-2005-Nov-002
Preset text = <string> or <file>
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
"/" (Unix) or "\" or
"x:" (Windows).
@@ -1770,15 +1771,38 @@ Options Location = Main Building{a}, New Building{b}, Old Building{c}
-
@@ -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
Register as new user on the login page if
-<login name1>:<password1>:<full name1>:<email1>:<notify1>
-<login name2>:<password2>:<full name2>:<email2>:<notify2>
-<login name3>:<password3>:<full name3>:<email3>:<notify3>
-...
+
+
+<?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>
+
Self register =
1 in the configuration file, or by the admin user in the
- Config page by pressing New user. When a user is logged it,
+ Config page by pressing New user. 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 Config command.