Giter Site home page Giter Site logo

Comments (10)

jasonish avatar jasonish commented on August 31, 2024

This needs to be cleaned up in the documentation.. But here are some pointers:

Note that in git master that the authentication type of just "username" no longer exists, and that authentication is enabled by default.

I'll try to cleanup the docs this week, but please ask any questions here.

from evebox.

samiux avatar samiux commented on August 31, 2024

I have added the user and password with the command :

sudo -u evebox evebox config -D /var/lib/evebox users add

and confirmed that the user has been added properly.

evebox.yaml

authentication:
required: true
type: usernamepassword

However, when I start the browser and clear all the cookies, the login screen still does not appear.

from evebox.

jasonish avatar jasonish commented on August 31, 2024

Hmm.. Server started with -D /var/lib/evebox and -c /path/to/evebox.yaml?

from evebox.

samiux avatar samiux commented on August 31, 2024

Sorry, I forgot to add -c /etc/evebox/evebox.yaml in the startup command. It works fine now. Thank you for your help.

from evebox.

jasonish avatar jasonish commented on August 31, 2024

No worries, this is all poorly documented at this time.

from evebox.

samiux avatar samiux commented on August 31, 2024

Is it possible to create user and his/her password via bash script without interaction?

from evebox.

jasonish avatar jasonish commented on August 31, 2024

Is it possible to create user and his/her password via bash script without interaction?

Yes, the users command can take --password and --username command line arguments.

from evebox.

samiux avatar samiux commented on August 31, 2024

sudo -u evebox evebox config -D /var/lib/evebox users --password mypassword --username myname
error: unexpected argument '--password' found

Usage: evebox config users [OPTIONS] [COMMAND]

For more information, try '--help'.

from evebox.

samiux avatar samiux commented on August 31, 2024

However, the following is working fine.

sudo -u evebox evebox config -D /var/lib/evebox users add -u myname -p mypassword

from evebox.

jasonish avatar jasonish commented on August 31, 2024

Ah, sorry. I added the longer versions in the dev version. Glad its working now.

from evebox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.