ambari-dev mailing list archives

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

             Summary: Data Node Start issue on non-root install
                 Key: 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: 
# vipw 

# echo > /etc/securetty 

# vi /etc/ssh/sshd_config 
PermitRootLogin no 

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: 


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) 

Defaults exempt_group = ambari 
Defaults !env_reset,env_delete-=PATH 
Defaults:ambari	!requiretty 

This message was sent by Atlassian JIRA

View raw message