Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-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 B07BA10CAC for ; Fri, 30 May 2014 22:08:02 +0000 (UTC) Received: (qmail 70149 invoked by uid 500); 30 May 2014 22:08:02 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 70125 invoked by uid 500); 30 May 2014 22:08:02 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 70116 invoked by uid 99); 30 May 2014 22:08:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 May 2014 22:08:02 +0000 Date: Fri, 30 May 2014 22:08:02 +0000 (UTC) From: "Shawn Kern (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-5977) startRrdcached.sh su command broken for users with no shell 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-5977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shawn Kern updated AMBARI-5977: ------------------------------- Attachment: startRrdcached.sh.patch This patch file will add the -s /bin/bash flag to the su on line 39. > startRrdcached.sh su command broken for users with no shell > ----------------------------------------------------------- > > Key: AMBARI-5977 > URL: https://issues.apache.org/jira/browse/AMBARI-5977 > Project: Ambari > Issue Type: Bug > Affects Versions: 1.6.0 > Environment: RedHat Linux 6.4 > Reporter: Shawn Kern > Priority: Minor > Attachments: startRrdcached.sh.patch > > Original Estimate: 1h > Remaining Estimate: 1h > > Line 39 of startRrdcached.sh will not work properly if the GMETAD_USER has its shell set to /sbin/nologin. This can be resolved in one of two ways: > 1) remove the - after the su command on line 39 > 2) add "-s /bin/bash" after the GMETAD_USER variable on line 39 -- This message was sent by Atlassian JIRA (v6.2#6252)