Dmitry Lysnichenko created AMBARI-9110:
------------------------------------------

             Summary: 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


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)

Reply via email to