Calibre server configuration: Difference between revisions
From wikinotes
No edit summary |
|||
Line 7: | Line 7: | ||
|} | |} | ||
</blockquote><!-- Documentation --> | </blockquote><!-- Documentation --> | ||
= Cookie Expiration = | |||
<blockquote> | |||
Cookie expiration is not configurable, but it's set in [https://github.com/kovidgoyal/calibre/blob/master/src/calibre/srv/auth.py#L20 calibre/srv/auth.py]. | |||
</blockquote><!-- Cookie Expiration --> | |||
= User Management = | = User Management = |
Revision as of 01:02, 9 August 2022
Documentation
user management https://manual.calibre-ebook.com/server.html#managing-user-accounts-from-the-command-line-only
Cookie Expiration
Cookie expiration is not configurable, but it's set in calibre/srv/auth.py.
User Management
Add/Modify Users
# create/edit users # (execute when calibre-server started w/o --enable-auth) sudo -u calibre calibre-server --manage-usersEnable User Auth
# /usr/local/etc/rc.d/calibre # add '--enable-auth' to your servicefile's command args command_args="${command_args} ... --enable-auth"