Skip to content

Changing admin password in a cluster #4652

Answered by nickva
mariocasciaro-d4h asked this question in Q&A
Discussion options

You must be logged in to vote

That could work as long as the 10-admins.ini file is writable, as on first use it will be update it with the hashed value (admin = -pbkdf2-...`).

But note, if the file is updated outside CouchDB, by some external process (ex: configuration management replaces it on disk), CouchDB won't automatically re-read it from disk. It doesn't automatically poll or monitor config files after the initial read. So, you could either restart the node yourself, or issue a POST to http://adm:$oldpass@$url/_node/[email protected]/_config/_reload that will force a reload.

This shouldn't affect data synchronization in a cluster as that goes over Erlang distribution: https://docs.couchdb.org/en/stable/setup/clus…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@mariocasciaro-d4h
Comment options

Answer selected by mariocasciaro-d4h
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants