I see only Save Back Change Password Remove User in Config Menu.
How can I create a New User?
[global]
Port=8880
SSL=1
;Self register = 1
Password file = passwd
admin user = kuku
SMTP host = smtp.mydomain
[Demo]
Attributes = Author, Status
The documentation is mentioning a Config Menu and a New User item there.
--
Christoph
|
Yoshio Imai wrote: | Hi!
Christoph Kukulies wrote: | I cannot get the login screen. I'm connecting to a logbook (and I can do this without logging in).
Shouldn't I get a screen to login/register? |
Christoph Kukulies wrote: | Guest menu commands = List, Find, Login, Help |
I might be wrong, but since you have defined "Guest menu commands", you should indeed be able to read the logbooks without logging on, only write access should be prevented. Do you get the login window when you explicitly click onto the "Login" link?
Also, I noticed that your user lists are space-separated, although as far as I know they should be comma-separated.
I hope this helps!
Yoshio |
Thanks. That was exactly what Stefan pointed me to (in private EMail which I resorted to in my desperation .
This config (also thanks to Stefan) now works.
[global]
Port=8880
SSL=1
Self register = 1
Password file = passwd
[Demo]
Attributes = Author, Status
[Linux]
Attributes = Author, Status
[Windows]
Attributes = Author, Status
I only need to know how I get an admin passwd and user into the passwd file.
elogd -a password -l logbook does not have the desired effect. It spoils the cfg-file
again with Admin Password commands.
--
Christoph |
Hi!
Christoph Kukulies wrote: | I cannot get the login screen. I'm connecting to a logbook (and I can do this without logging in).
Shouldn't I get a screen to login/register? |
Christoph Kukulies wrote: | Guest menu commands = List, Find, Login, Help |
I might be wrong, but since you have defined "Guest menu commands", you should indeed be able to read the logbooks without logging on, only write access should be prevented. Do you get the login window when you explicitly click onto the "Login" link?
Also, I noticed that your user lists are space-separated, although as far as I know they should be comma-separated.
I hope this helps!
Yoshio |
> > Hi,
> >
> > I'm trying to configure Elog such that users can self-register. But no luck so far.
> > I cannot get the login screen. I'm connecting to a logbook (and I can do this without logging in).
> > Shouldn't I get a screen to login/register?
> >
> > Here is my elogd.cfg:
> > [global]
> > Port=8880
> > Password file = /usr/local/elog/logbooks/passwd
> > SMTP host = smtp.mydomain.de
> > SMTP user = kuku
> > Logfile = /usr/local/elog/logs/elog.log
> > Admin user = kuku other
> > Login user = abc def ghi
> > SSL=1
> > URL=https://www.mydomain.de:8880/
> > Self register = 1
> > Menu commands = List, New, Edit, Reply, Duplicate, Find, Config, Logout, Help
> > Guest menu commands = List, Find, Login, Help
> >
> > Admin user = me@mydomain.de
> > [Demo]
> > Admin Password = 9lVlUsigs4neBt9xnX44YYQay15Yu9PyLC9hK6sifI9
> > Attributes = Author, Status
> > [Linux]
> > Admin Password = 9lVlUsigs4next9PnXShhQQa515Yu9PyLC9hK6sifI9
> > Attributes = Author, Status
> > [Windows]
> > Admin Password = 9lVlUsigs4neBt9PnXShhQQay15YuxPyLC9hK6sifI9
> > Attributes = Author, Status
>
> You should not mix "Password file" with "Admin Password". Either use one or the other system, but not both. So
> remove "Admin Password", and delete all cookies in your browser, then you should see the login screen.
This is now my config - it still doesn't work. BTW, the passwd file is empty (despite of the xml header).
[global]
Port=8880
Password file = /usr/local/elog/logbooks/passwd
SMTP host = smtp.mydomain.de
SMTP user = kuku
Logfile = /usr/local/elog/logs/elog.log
Logging Level = 3
Admin user = kuku
Login user = abc def ghi
SSL=1
URL=https://myhost.mydomain:8880/
Self register = 1
Menu commands = List, New, Edit, Reply, Duplicate, Find, Config, Logout, Help
Guest menu commands = List, Find, Login, Help
[Demo]
Attributes = Author, Status
[Linux]
Attributes = Author, Status
[Windows]
Attributes = Author, Status
--
Thanks for helping.
Christoph |