Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0182517CAF for ; Wed, 8 Oct 2014 02:31:35 +0000 (UTC) Received: (qmail 94724 invoked by uid 500); 8 Oct 2014 02:31:34 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 94587 invoked by uid 500); 8 Oct 2014 02:31:34 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 94335 invoked by uid 99); 8 Oct 2014 02:31:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Oct 2014 02:31:34 +0000 Date: Wed, 8 Oct 2014 02:31:34 +0000 (UTC) From: "Javier Candeira (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Issue Comment Deleted] (COUCHDB-2362) Have dev/run put the correct user:password in the [admin] section of all three nodes in dev cluster MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-2362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Javier Candeira updated COUCHDB-2362: ------------------------------------- Comment: was deleted (was: This one also fixes https://issues.apache.org/jira/browse/COUCHDB-2364) > Have dev/run put the correct user:password in the [admin] section of all three nodes in dev cluster > --------------------------------------------------------------------------------------------------- > > Key: COUCHDB-2362 > URL: https://issues.apache.org/jira/browse/COUCHDB-2362 > Project: CouchDB > Issue Type: Improvement > Security Level: public(Regular issues) > Components: BigCouch > Reporter: Javier Candeira > > When starting a dev cluster with the --admin option: > `dev/run -a candeira:candeira` > the local.ini scripts get rebuilt with an extra [admin] section and the plaintext user = password line. This means that couchdb adds the hashed password instead of replacing it. > in addition, the admin party fix only sets the user = password line in one of the cluster's nodes, which may create problem. > The forthcoming patch will initialise all three nodes with the same hashed password, as per rnewson: > 00:27 <+rnewson> so you need to ensure that the admin is the same on all nodes after hashing > 00:28 <+rnewson> otherwise cookies won't work if you hop between nodes -- This message was sent by Atlassian JIRA (v6.3.4#6332)