Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 792 of 796  Not logged in ELOG logo
ID Date Icon Author Author Emailup Category OS ELOG Version Subject
  44   Mon Jul 1 10:36:47 2002 Reply Stefan Rittstefan.ritt@psi.chInfo  Re: Admin password
> I want to set up eLogs for a class w/out the need for passwords. But, at the
> same time, I don't want the students to change the config file. I tried
> setting up a global password, but am having some difficulty with the syntax
> I suppose I could remove the config command from the menu and edit the file
> using Pico, but that would require a better memory than I have...
> 
> ******************
> 
> usage: elogd [-p port] [-h hostname] [-D] [-c file] [-r pwd] [-w pwd] [-a
> pwd] [-l logbook]
> 
>        -p <port> TCP/IP port
>        -h <hostname> TCP/IP hostname
>        -D become a daemon
>        -c <file> specify configuration file
>        -v debugging output
>        -r create/overwrite read password in config file
>        -w create/overwrite write password in config file
>        -a create/overwrite admin password in config file
>        -l <logbook> specify logbook for -r and -w commands
> 
>        -k do not use keep-alive
> 
> [root@eMonster elog]# elogd -a youtheman
>           
> Must specify a lookbook via the -l parameter.

Nearly correct, just follow the note: specify a logbook via the -l parameter.
So if you logbook is called "linux", you enter

elogd -a youtheman -l linux
  45   Mon Jul 1 11:35:28 2002 Reply Stefan Rittstefan.ritt@psi.chBug fix  Re: trailing '-' are removed from a message!!!
> Try to submit the following message:
> 
> *** cut here ***
> -------------------------------------------------
> -------------------------------------------------
> -------------------------------------------------
> -------------------------------------------------
> *** cut here ***
> 
> In fact after the next line there were 4 lines with '-', but
> they were not accepted by elog:

Ok, also fixed. Updated version is at 

http://midas.psi.ch/cgi-bin/cvsweb/elog/elogd.c

Here is actually an example with '----' at the end:

-------------------------------------------------
-------------------------------------------------
-------------------------------------------------
-------------------------------------------------
  47   Tue Jul 2 09:41:57 2002 Reply Stefan Rittstefan.ritt@psi.chInfo  Re: Options <attribute> = List????
> Hello,
>     Is it possible to have a drop down list with commas in the options.  
> For instance, if you want to have a attribute "CityState" you would 
> probably want a comma between the City and State name.  Since the Options 
> are separated by commas, it turns into two different options.  I dont know 
> if there is a way to do this or if this is a bug?

From the next version on *2.0.4), one can specify attributes in quotation 
marks like

Options town = San Francisco, "Paris, Texas", "Paris, France"

which then can include commas.
  49   Thu Jul 4 09:23:50 2002 Reply Stefan Rittstefan.ritt@psi.chComment  Re: possible to modify link in email notification
Having the URL link to a different logbook is right now not possible. But 
what about setting up a single logbook with a write password. Everybody can 
access it for reading, but only these people who know the write password 
can enter messages.
  53   Mon Jul 8 10:42:38 2002 Reply Stefan Rittstefan.ritt@psi.chBug fix  Re: exit status of elog
> The exit status of elog is always 1.  It should be zero for
> a successful submission.

Has been fixed in 2.0.4
  54   Mon Jul 8 10:44:08 2002 Reply Stefan Rittstefan.ritt@psi.chBug fix  Re: elog submit problem
> If a message is submitted via the elog command then the reply string '> ' 
is only inserted in the first line if a reply is made.
> This message was submitted with the following commandline:
> elog -v -h midas.psi.ch -p 80 -s elogdemo -l Forum -a "Icon=icon4.gif" -
a "Author=Heiko Scheit"  -a "Author Email=h.scheit@mpi-hd.mpg.de" -
a "Subject=elog submit problem" "...Message-text..."
> Please press the reply button to see the problem.

Has been fixed in 2.0.4 (as you can see from this entry). Please make sure 
not to submit too long lines via "elog". For browser submissions, the line 
length is limited to 78 characters, but not for "elog" submissions.
  55   Mon Jul 8 10:45:37 2002 Reply Stefan Rittstefan.ritt@psi.chBug fix  Re: reverse sort and threaded mode does not display first entry
> When the option 'Reverse sort = 1' is used then the first entry
> is not displayed (ID=1) when threaded mode is requested.
> 
> Probably you can see the problem using this link and switching 
> on reverse sort.  
> 
> http://midas.psi.ch/elogdemo/Linux/last20?mode=threaded

Has been fixed in 2.0.4, have a look at

http://midas.psi.ch/elogdemo/Linux/last20?mode=threaded&reverse=1
  60   Tue Jul 9 09:18:05 2002 Reply Stefan Rittstefan.ritt@psi.chInfo  Re: Where can I get more information on the config file
> Where can I get more information about the config and themes file. I
> downloaded the latest version (2.0.4) and the config file docs seem out of
> date. I would like to get the icons working as well as getting the email 
to
> work. The demo page at the elog home site shows both but I cannot find ant
> references to the icons.

Oops, I forgot the "IOptions" statement to documentation. Please see the 
updated version at

http://midas.psi.ch/elog/config.html

look for "IOptions". For the Email notification see the whole 
section "Email 
notification" near the bottom of the page.
ELOG V3.1.5-2eba886