[ https://issues.apache.org/jira/browse/AMBARI-5977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14054530#comment-14054530 ]
Sumit Mohanty commented on AMBARI-5977: --------------------------------------- [~swagle], can you take a look at the patch? > 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 > Assignee: Siddharth Wagle > Priority: Minor > Labels: easyfix, patch > Fix For: 1.7.0 > > Attachments: AMBARI-5977.patch, 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)