Return-Path: X-Original-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 930F410D6C for ; Tue, 17 Sep 2013 05:40:09 +0000 (UTC) Received: (qmail 39241 invoked by uid 500); 17 Sep 2013 05:36:44 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 38919 invoked by uid 500); 17 Sep 2013 05:30:54 -0000 Mailing-List: contact ambari-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-dev@incubator.apache.org Received: (qmail 38904 invoked by uid 99); 17 Sep 2013 05:30:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Sep 2013 05:30:51 +0000 Date: Tue, 17 Sep 2013 05:30:51 +0000 (UTC) From: "Sumit Mohanty (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-3252) Setup the krb5 Jaas configuration using "ambari-server setup-security" 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/AMBARI-3252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13769216#comment-13769216 ] Sumit Mohanty commented on AMBARI-3252: --------------------------------------- * setup_security(args). Could you use get_validated_string_input() to cover the prompt and choice selection. Something similar to: {code} idType = "0" idType = get_validated_string_input( "Choose one of the following options:\n1 - " + "Enable HTTPS for Ambari server" + "\n2 - " + "Enable HTTPS for Ganglia service" + "\n3...... ", idType, "^[12345]$", "Invalid choice.", False ) {code} Its a good change and will make the prompt clearer. LGTM, +1. > Setup the krb5 Jaas configuration using "ambari-server setup-security" > ---------------------------------------------------------------------- > > Key: AMBARI-3252 > URL: https://issues.apache.org/jira/browse/AMBARI-3252 > Project: Ambari > Issue Type: Improvement > Components: controller > Affects Versions: 1.4.1 > Reporter: Siddharth Wagle > Assignee: Siddharth Wagle > Fix For: 1.4.1 > > Attachments: AMBARI-3252.patch > > > 1. Add "ambari-server setup-security" to replace all of the following operations: > "setup-https|setup-ganglia-https|setup-nagios-https|encrypt-passwords" > 2. Add new operation "setup-kerberos-auth" to ask the user for: > - ambari.keytab > - ambari.principal > Related to, https://issues.apache.org/jira/browse/AMBARI-2941 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira