Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 479 of 808  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subjectdown
  66249   Thu Mar 12 21:21:00 2009 Reply Heinzmanncatman333@web.deQuestionWindowsV2.7.5-217Re: How ca I delete / hide the Elog Icon and Labels like ELOG V2.7.5-2175

Heinzmann wrote:

Hi Stephan,

How can I delete / hide the Elog Icon ELOG logo

and Labels like ELOG V2.7.5-2175 ?

Thanks,

Michael

 

 Sorry,

found it:

 

Bottom text = <center>Hello</center>
Bottom text login = <center>Login Hello</center>

  155   Wed Nov 6 14:46:12 2002 Reply Stefan Rittstefan.ritt@psi.ch   Re: How To: add charset support via META ?
> Encoding  problem:
> 
> How to make ELOG generate HTTP pages with 
> 
> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=XXXX">
> 
> tag in header. With charset=XXX selectable via config.

I added this option, so now you can specify in the [global] section of 
elogd.c something like

charset = windows-1252

To switch to Cyrillic. The modification will be contained in the next version 
of elog (2.2.3), and is now available from the CVS repository at:

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

- Stefan
  360   Tue Jun 3 20:08:27 2003 Reply Stefan Rittstefan.ritt@psi.chQuestion  Re: Hosts deny
> Used to deny a certain command to a list of users. This can be used to 
> deny a guest user to enter new messages or modify a message. 
> 
> 
> Hosts allow = <list> 
> Hosts deny = <list> 
> 
> could you deny guest user like this 
> 
> guest is not loggeg ?
> hubert is logged
> 
> Hosts deny = guest,hubert
> does anybody has experience with deny based on IP adresse ?

You probably mixed up deny of a command to a certain user and deny of hosts 
based on their IP. This has nothing to do with each other except the 
word "deny". Please read the documentation about how to set up IP 
based "hosts deny". This works only for certain IPs, but not for certain 
users. 

If you want guests not to be able to enter messages, but allow this to 
registered users, you should set up a password file, and a guest menu. 
Please refer to the elogd.cfg file for this forum which is done in this way. 
Have a look at elog:Config%20Examples/4 .
  1852   Thu Jun 22 08:09:11 2006 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux Re: Hosts Allow and Password File

Jeremy Perkins wrote:
I'm trying to set up an elog that uses a password file using the "Password file = /blah" directive as well as the "Hosts allow = myhost.mydomain" directive. I used the -v command and watched the messages and elogd is recognizing that I am connecting from an allowed host but the login page is still appearing. Is there a way to use both of these?


You misunderstand something. The "Password file = ..." statement turns on user level access, that means each user has to log in and identify himself this way in a unique way (so that you know who wore a certain logbook entry etc.). This has nothing to do with the "Hosts allow/deny" statements, which works separately. So if you combine "hosts allow" with "password file", this means that only users from the password file can log in from certain hists, but they still have to identify themselves with their username and password. If you want to log into a logbook without supplying a password from certain hosts, then you remove the "password file" statement. But then anyone from that host can write logbook entries, so you loose the user identification.
  69868   Thu Mar 20 11:21:07 2025 Reply Stefan Rittstefan.ritt@psi.chQuestionLinuxlatestRe: Host ELOG on Raspberry Pi for small lab

Just read the manual: https://elog.psi.ch/elog/adminguide.html

Michel Döhring wrote:

Dear all, 

is there an instruction document how to exacly host the ELOG on a server for example a raspberry pi?

Wishes, 

M

 

  69869   Fri Mar 21 23:51:08 2025 Reply Konstantin Olchanskiolchansk@triumf.caQuestionLinuxlatestRe: Host ELOG on Raspberry Pi for small lab
> is there an instruction document how to exacly host the ELOG on a server for example a raspberry pi?

would be same as on any other linux machine, in the nutshell:

- install generic raspbian (R-12 is current version)
- setup the network
- setup apache2 https with automatic https certificate renewal using certbot
- setup apache2 redirect to elogd port 8080
- setup elogd on port localhost:8080

some of this is written up here:
https://daq00.triumf.ca/DaqWiki/index.php/Ubuntu#Install_apache_httpd_proxy_for_midas_and_elog

in theory you can run elogd without apache https proxy, but I find computer security
people are quite happy when I tell them that I run apache https with SSLlabs score "A+".

also I believe elogd does not support automatic https certificate renewal, running
it behind apache https solves that.

another consideration, specifically for RaspberryPi, they use SD flash for storage,
and unlike SATA and NVMe SSDs, SD flash does not have SMART to report flash read,
write and wear-out problems. So you may run into unexpected SD flash failures. We do.

do daily/hourly rsync to backup/archive storage to avoid total data loss if this happens.

also be aware that SD flash is very slow, compared to normal PC SSDs. read speed is not too
bad, but write speed is quite abysmal.

as solution to this, RPi5 can have a PCIe/NVMe dongle, you can try that instead of SD flash.

K.O.
  68414   Tue Sep 6 13:41:32 2016 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows3.1.1-3f311c5Re: Highlight code?

You can manually highlight code, but there is no automatic language parser.

Daniel Sajdyk wrote:

Hello :)

Is there any way to highlight code (for example php, SQL) in elogs entries?

Best Regards

Daniel Sajdyk

 

  68415   Tue Sep 6 13:45:55 2016 Reply Daniel Sajdykdaniel.sajdyk@gmail.comQuestionWindows3.1.1-3f311c5Re: Highlight code?

I thought so.

One  more question :) I want manually add that parser (https://highlightjs.org), but I'm newby in that and don't know where ....

I know that downloaded hightlight pack I must put into folder scripts, but where to add this line:

<script>hljs.initHighlightingOnLoad();</script>

 

Stefan Ritt wrote:

You can manually highlight code, but there is no automatic language parser.

Daniel Sajdyk wrote:

Hello :)

Is there any way to highlight code (for example php, SQL) in elogs entries?

Best Regards

Daniel Sajdyk

 

 

ELOG V3.1.5-3fb85fa6