Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3872910DD8 for ; Tue, 18 Feb 2014 23:17:32 +0000 (UTC) Received: (qmail 37982 invoked by uid 500); 18 Feb 2014 23:17:29 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 37884 invoked by uid 500); 18 Feb 2014 23:17:28 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 37685 invoked by uid 99); 18 Feb 2014 23:17:23 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Feb 2014 23:17:23 +0000 Date: Tue, 18 Feb 2014 23:17:23 +0000 (UTC) From: "sankalp kohli (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-6660) Make node tool command take a password file MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-6660?page=3Dcom.atlas= sian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D= 13904777#comment-13904777 ]=20 sankalp kohli commented on CASSANDRA-6660: ------------------------------------------ I think you forgot to remove this line in your patch System.out.println(password); > Make node tool command take a password file > ------------------------------------------- > > Key: CASSANDRA-6660 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6660 > Project: Cassandra > Issue Type: Improvement > Reporter: Vishy Kasar > Assignee: Cl=C3=A9ment Lardeur > Priority: Trivial > Labels: nodetool > Fix For: 2.1 > > Attachments: trunk-6660-v1.patch, trunk-6660-v2.patch > > > We are sending the jmx password in the clear to the node tool command in = production. This is a security risk. Any one doing a 'ps' can see the clear= password. Can we change the node tool command to also take a password file= argument. This file will list the JMX user and passwords. Example below: > cat /cassandra/run/10003004.jmxpasswd > monitorRole abc > controlRole def > Based on the user name provided, node tool can pick up the right password= .=20 -- This message was sent by Atlassian JIRA (v6.1.5#6160)