ELOG Password Configuration

The elogd command can be used to set a read and/or write password for an ELOG logbook.

elogd [-r pwd] [-w pwd] [-a pwd] [-l logbook]
with : 

-r  create/overwrite read password in config file 
-w  create/overwrite write password in config file 
-a  create/overwrite administrative password in config file 
-l  specify logbook for -r and -w commands 

To set a password, obtain a command prompt and make the working directory the directory where ELOG was installed. By default this will be C:\Program Files\ELOG on a Windows system.

To set a "write" password use the -w option.

C:\Program Files\Network\Web\ELOG>elogd -w APassword -l sysadmin
Password added to logbook "sysadmin".

The above command would set the write password for the sysadmin logbook to be APassword. You must specify the logbook with the -l option or you will see the message "Must specify a lookbook via the -l parameter." The password will be stored in the elogd.cfg file in encrypted form. There will be a Write Password = line placed in the file that contains the password you entered, but the password will be in an encrypted form. The next time you try writing an entry to the logbook, you will be prompted to enter the password to obtain write access.

To set a "read" password, e.g. one that allows someone to view log entries, but not edit or create them, you can use the -r option to the elogd command.

C:\Program Files\Network\Web\ELOG>elogd -r AnotherPassword -l sysadmin
Password added to logbook "sysadmin".

The above command would set the "read" password to be AnotherPassword. A Read Password = entry would be created in elogd.cfg.

When you've set the "read" password as above, when you see a username/password prompt when attempting to access the logbook, the username field can be left blank. The "read" password should be placed in the password field.

You should be aware that unless you are using HTTPS rather than HTTP, there is the potential for someone to "sniff" network traffic and learn the passwords used for ELOG. See ELOG SSL Configuration for information on configuring ELOG to use HTTPS rather than HTTP.