You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2014/10/08 15:03:33 UTC

[jira] [Commented] (AMBARI-7687) Allow nologin shell to be the default shell for service users.

    [ https://issues.apache.org/jira/browse/AMBARI-7687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14163453#comment-14163453 ] 

Hadoop QA commented on AMBARI-7687:
-----------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12673589/AMBARI-7687.patch
  against trunk revision .

    {color:red}-1 patch{color}.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/117//console

This message is automatically generated.

> Allow nologin shell to be the default shell for service users. 
> ---------------------------------------------------------------
>
>                 Key: AMBARI-7687
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7687
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 1.6.1
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Critical
>             Fix For: 1.7.0
>
>         Attachments: AMBARI-7687.patch
>
>
> In production cluster, after restart cluster, all hadoop users automatically changed shell to /bin/bash from /bin/nologin except zookeeper and sqoop. 
> STEPS TO REPRODUCE: 
> 1) change all hadoop users (Hive, oozie etc) to shell /bin/nologin 
> 2) restart cluster 
> 3) verify user shell changed to /bin/bash except zookeeper and sqoop, by below script: 
> {code}
> # for NAME in hcat hdfs hive mapred nagios oozie zkeeper ambariqa yarn storm falcon tez zookeeper sqoop 
> > do 
> > grep $NAME /etc/passwd 
> > done 
> hcat:x:209132:6622:Sponsor - MOTS ID 19073:/home/hcat:/bin/bash 
> hdfs:x:208090:6622:Sponsor - MOTS ID 19073:/home/hdfs:/bin/bash 
> hive:x:209130:6622:Sponsor - MOTS ID 19073:/home/hive:/bin/bash 
> mapred:x:208111:6622:Sponsor - MOTS ID 19073:/home/mapred:/bin/bash 
> nagios:x:80410:32966:Sponsor - MOTS ID 19073:/home/nagios:/bin/bash 
> oozie:x:209136:6622:Sponsor - MOTS ID 19073:/home/oozie:/bin/bash 
> zkeeper:x:202510:6622:Sponsor - MOTS ID 19073:/home/zkeeper:/bin/bash 
> ambariqa:x:266570:6622:Sponsor - MOTS ID 19073:/home/ambariqa:/bin/bash 
> yarn:x:496:6622:Hadoop Yarn:/var/lib/hadoop-yarn:/bin/bash 
> storm:x:59761:6622::/home/storm:/bin/bash 
> falcon:x:494:6622:Falcon:/var/lib/falcon:/bin/bash 
> tez:x:59760:6622::/home/tez:/bin/bash 
> zookeeper:x:498:6622:ZooKeeper:/var/run/zookeeper:/bin/nologin 
> sqoop:x:497:6622:Sqoop:/var/lib/sqoop:/bin/nologin
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)