Skip to content

Latest commit

 

History

History
85 lines (50 loc) · 1.24 KB

File metadata and controls

85 lines (50 loc) · 1.24 KB

http-here database

Goals

  • User table for persistent users login/password
  • Log table store event info in one place
  • File table

Caution

Database is disabled by default

So, you should run app with --usedb arg.

Help information


http-here --help

http-here user --help
http-here usermod --help
http-here userdel --help

http-here log --help

Users (some examples)

Add new specific user


# add user with login (password will be generate as random)
http-here user --login vasya3000

# add user with login and password
http-here user --login vasya3001 --password pass3001

Or automatic generate and save list of random accounts

http-here user --generate

Print all users

http-here user --list

Modify


# disable one user
http-here usermod --login XXXXXXX --disable

# change password
http-here usermod --login XXXXXXX --password TTTTTTTTT

Delete one user

http-here userdel --login XXXXXXX

Log (some examples)

Print all log data to stdout

http-here log --dump

File table

For old versions of http-here it was a place to store meta about files and use it for search or image thumbnails.