Calibre server configuration: Difference between revisions
From wikinotes
No edit summary |
|||
Line 10: | Line 10: | ||
= User Management = | = User Management = | ||
<blockquote> | <blockquote> | ||
Add/Modify Users | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
# create/edit users (execute when calibre-server started w/o --enable-auth) | # create/edit users | ||
# (execute when calibre-server started w/o --enable-auth) | |||
sudo -u calibre calibre-server --manage-users | sudo -u calibre calibre-server --manage-users | ||
</syntaxhighlight> | |||
Enable User Auth | |||
<syntaxhighlight lang="bash"> | |||
# /usr/local/etc/rc.d/calibre | |||
# add '--enable-auth' to your servicefile's command args | |||
command_args="${command_args} ... --enable-auth" | |||
</syntaxhighlight> | </syntaxhighlight> | ||
</blockquote><!-- User Management --> | </blockquote><!-- User Management --> |
Revision as of 01:39, 9 September 2021
Documentation
user management https://manual.calibre-ebook.com/server.html#managing-user-accounts-from-the-command-line-only
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"