You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Robert Newson (JIRA)" <ji...@apache.org> on 2017/04/22 10:36:04 UTC
[jira] [Commented] (COUCHDB-3392) admin passwords not overwritten
in default.d/*.ini files
[ https://issues.apache.org/jira/browse/COUCHDB-3392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15979851#comment-15979851 ]
Robert Newson commented on COUCHDB-3392:
----------------------------------------
Hi Joan,
It's always worked this way (by design). Only the final .ini in the sequence is written to when config is changed via _config / config:set, all the others are read-only.
See COUCHDB-1800 and COUCHDB-2364 for older reports of the same behaviour and COUCHDB-2367 for a proposed change.
> admin passwords not overwritten in default.d/*.ini files
> --------------------------------------------------------
>
> Key: COUCHDB-3392
> URL: https://issues.apache.org/jira/browse/COUCHDB-3392
> Project: CouchDB
> Issue Type: Bug
> Components: Config
> Reporter: Joan Touzet
>
> If I create an {{etc/local.d/10-admins.ini}} file with the following text:
> {noformat}
> [admins]
> admin = pass
> {noformat}
> and (re)start CouchDB, the password gets hashed.
> But if I create an {{etc/default.d/10-admins.ini}} with the same content, the password is *not* hashed on restart. In either case, the admin user is recognized by the config system.
> [~rnewson] I think you implemented this code, would you take a look?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)