Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Server

Notices

Reply
 
Thread Tools Search this Thread
Old 10-29-2018, 12:09 AM   #1
semarngaji
Junior Member
semarngaji began at the beginning.
 
semarngaji's Avatar
 
Posts: 5
Karma: 10
Join Date: Oct 2018
Location: Indonesia
Device: Linux
Thumbs up Disable User Password Changing

Hi,

I have activated Calibre server. All things work well so far. Thanks to Kovid Goyal as a developer.

Now, I have an idea to make my server public. So, I have to make some user accounts to prevent unauthorized people from accessing my library.

I made two user accounts, admin (fully granted) and user (read only).

So, the question is, can I disable user from changing account password? That's because I have many users and I plan to make one only user account for my all users. Thanks
semarngaji is offline   Reply With Quote
Old 10-29-2018, 12:32 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
no, IIRC users can always change their passwords. If you have users who would act maliciously, simply give them separate accounts, or ban them, the server logs will tell you which user changed the password.
kovidgoyal is offline   Reply With Quote
Old 10-30-2018, 03:49 AM   #3
semarngaji
Junior Member
semarngaji began at the beginning.
 
semarngaji's Avatar
 
Posts: 5
Karma: 10
Join Date: Oct 2018
Location: Indonesia
Device: Linux
Thumbs up

Quote:
Originally Posted by kovidgoyal View Post
no, IIRC users can always change their passwords. If you have users who would act maliciously, simply give them separate accounts, or ban them, the server logs will tell you which user changed the password.
Wow, Kovid Goyal, thanks for replying my question. Actually, the server is on a school. If so, can I import user accounts bulkly? Or, is there any way for me to make random user accounts for students instantly? Thanks!
semarngaji is offline   Reply With Quote
Old 10-30-2018, 04:26 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The user database the server uses is a simple sqlite database, and there is a command line interface to it you can use.

calibre-server --manage-users

you can use it with a tool such as expect to automate adding new users. You will have to restart the server for the new user accounts to show up, though.
kovidgoyal is offline   Reply With Quote
Old 10-30-2018, 04:45 AM   #5
semarngaji
Junior Member
semarngaji began at the beginning.
 
semarngaji's Avatar
 
Posts: 5
Karma: 10
Join Date: Oct 2018
Location: Indonesia
Device: Linux
Thumbs up

Quote:
Originally Posted by kovidgoyal View Post
The user database the server uses is a simple sqlite database, and there is a command line interface to it you can use.

calibre-server --manage-users

you can use it with a tool such as expect to automate adding new users. You will have to restart the server for the new user accounts to show up, though.
Ok Sir, I willl try it then. I love your works very much.

semarngaji is offline   Reply With Quote
Old 10-30-2018, 10:20 PM   #6
semarngaji
Junior Member
semarngaji began at the beginning.
 
semarngaji's Avatar
 
Posts: 5
Karma: 10
Join Date: Oct 2018
Location: Indonesia
Device: Linux
Thumbs up

Quote:
Originally Posted by kovidgoyal View Post
The user database the server uses is a simple sqlite database, and there is a command line interface to it you can use.

calibre-server --manage-users

you can use it with a tool such as expect to automate adding new users. You will have to restart the server for the new user accounts to show up, though.
Wow, it works. Thank you, Sir!
So, is there any limitation of user amount in Calibre?
semarngaji is offline   Reply With Quote
Old 10-30-2018, 10:29 PM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
no, there is not.
kovidgoyal is offline   Reply With Quote
Old 10-30-2018, 10:48 PM   #8
semarngaji
Junior Member
semarngaji began at the beginning.
 
semarngaji's Avatar
 
Posts: 5
Karma: 10
Join Date: Oct 2018
Location: Indonesia
Device: Linux
Thumbs up

Quote:
Originally Posted by kovidgoyal View Post
no, there is not.
Great!

Now, I have question to you as developer.
Sorry, out of topic.

1. Don't you have any idea to develope Calibre in Android?
2. I'm from Indonesia. I have Calibre installed on Linux and Windows in several devices for several years. That's because I love it. But I can't find my primary language in your app. So, would you mind to add Indonesian please?

Proud to use Calibre!
semarngaji is offline   Reply With Quote
Old 10-30-2018, 11:26 PM   #9
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
1. no

2. calibre translations are contributed by calibre users, feel free to help with translating to your language: https://calibre-ebook.com/get-involved
kovidgoyal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Issues changing root password tstngry Amazon Kindle 0 04-26-2012 11:39 PM
902 Browser and user/password authentication petervdb PocketBook 2 01-13-2012 03:41 PM
Embedding user name/password for crontab awitko Recipes 5 12-05-2011 05:21 AM
disable subscriptions in user cp? Ditchleyportrait Feedback 2 06-23-2011 03:55 AM
User / Password every 5 Min. Axelos Feedback 11 08-26-2008 04:54 AM


All times are GMT -4. The time now is 03:44 AM.


MobileRead.com is a privately owned, operated and funded community.