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
  66961   Fri Nov 26 16:22:05 2010 Reply Christoph Kukulieskukulies@physik.rwth-aachen.deQuestionLinux2.8.0-2344Re: New User in Config Menu ?

Stefan Ritt wrote:

Christoph Kukulies wrote:

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. 

You have to be admin user to see that Config Menu.

Admin user = kukulies             (or whatever your login name is)

 Thanks. You see in the elogd.cfg above that there is

admin user = kuku

 Aaah, case sensitive ! !

 

--

Christoph

 

 

  66960   Fri Nov 26 12:36:53 2010 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.8.0-2344Re: New User in Config Menu ?

Christoph Kukulies wrote:

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. 

You have to be admin user to see that Config Menu.

Admin user = kukulies             (or whatever your login name is)

  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. 

ELOG V3.1.5-3fb85fa6