ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn Kern (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-5977) startRrdcached.sh su command broken for users with no shell
Date Fri, 30 May 2014 22:08:02 GMT

     [ 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)

Mime
View raw message