ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Lysnichenko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-9110) Data Node Start issue on non-root install
Date Tue, 13 Jan 2015 19:21:34 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-9110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dmitry Lysnichenko updated AMBARI-9110:
---------------------------------------
    Attachment: AMBARI-9110.patch

> Data Node Start issue on non-root install
> -----------------------------------------
>
>                 Key: AMBARI-9110
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9110
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9110.patch
>
>
> DataNode cannot start due to an Operation not permitted when trying to change the ulimit.
See screenshot.
> Non-Root Setup: 
> {noformat} 
> # vipw 
> root:x:0:0:root:/root:/sbin/nologin 
> # echo > /etc/securetty 
> # vi /etc/ssh/sshd_config 
> PermitRootLogin no 
> {noformat} 
> With that done I created a user named ‘ambari’ and used that during setup for the
non-root user to run the Ambari Server as. I’ve setup this in /etc/sudoers: 
> {noformat} 
> ambari	ALL=(ALL)	NOPASSWD: ALL 
> {noformat} 
> I know this is best case for privileges, but want to get through one iteration before
tightening it up. 
> As well as this in /etc/sudoers.d/ambari (0440) 
> {noformat} 
> Defaults exempt_group = ambari 
> Defaults !env_reset,env_delete-=PATH 
> Defaults:ambari	!requiretty 
> {noformat}



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

Mime
View raw message