Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 356 of 807  Not logged in ELOG logo
IDdown Date Icon Author Author Email Category OS ELOG Version Subject
  66959   Fri Nov 26 12:31:42 2010 Question Christoph Kukulieskukulies@physik.rwth-aachen.deQuestionLinux2.8.0-2344New User in Config Menu ?

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


 

  66958   Fri Nov 26 11:42:50 2010 Reply Yoshio ImaiQuestionLinux2.8.0-2313Re: Don't see login page - Self register = 1

Christoph Kukulies wrote:
I only need to know how I get an admin passwd and user into the passwd file.


You do this the same way as a regular user: use the self registration feature to create a user, and then declare this user to be the admin in your config file.


Yoshio
  66957   Fri Nov 26 09:44:22 2010 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.8.0-2313Re: Don't see login page - Self register = 1

Christoph Kukulies wrote:
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.


I told you twice (once in this thread) that you should not mix "password file" with "admin password". These are two different authentication schemes and may not be combined. What you need is only "admin user = <name>" in your config file as written in the documentation.
  66956   Thu Nov 25 17:34:28 2010 Reply Christoph Kukulieskukulies@physik.rwth-aachen.deQuestionLinux2.8.0-2313Re: Don't see login page - Self register = 1

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 Smile.
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
  66955   Thu Nov 25 14:15:31 2010 Reply Yoshio ImaiQuestionLinux2.8.0-2313Re: Don't see login page - Self register = 1
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
  66954   Thu Nov 25 12:13:51 2010 Reply Stefan Rittstefan.ritt@psi.chCommentLinux2.8.0Re: Forum quirks

Christoph Kukulies wrote:

Let me add one observation though: I always have to put the Submit or Preview button twice in this forum. The first time no reaction happens. The secend click dows the action.

Yes this observation is right. It's related to a new "fix" I was asked for: People do not want an entry to be submitted if they fill in an attribute and hit <ENTER>. So I added some javascript to prevent this, but the bad side effect right now is that you have to click Preview or Submit twice. I'm working on it. 

  66953   Wed Nov 24 16:38:12 2010 Reply Christoph Kukulieskukulies@physik.rwth-aachen.deCommentLinux2.8.0Re: Forum quirks

Christoph Kukulies wrote:

Christoph Kukulies wrote:

I just got a Proxy error from your site: When I clicked on the change password link that was sent to my email, I entered my new password (which was the same that I believed to have used before) and after submitting this form, I got the Proxy error. Also I find that I can never login with my once set password. Is it the Email or username on gives in the login field? Other quirk: I never can preview my post. When I click preview, nothing happens. Submitting worked today but yesterday I was unable to submit a post. I clicked several times on the submit button and nothing happened. -- Christoph

 It seems that the submit/preview problem is solved. Submit/Preview buttons at the bottom of the page seem to work on the attachments only.

Sorry for the oversight on my side.

 

--

Christoph

 

 Let me add one observation though: I always have to put the Submit or Preview button twice in this forum. The first time no reaction happens. The secend click dows the action.

 

--

Christoph

 

  66952   Wed Nov 24 16:36:21 2010 Reply Christoph Kukulieskukulies@physik.rwth-aachen.deQuestionLinux2.8.0-2313Re: Don't see login page - Self register = 1
> > 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
ELOG V3.1.5-3fb85fa6