ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yusaku Sako (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-7325) ambari-server needs to run as root
Date Tue, 16 Sep 2014 03:25:33 GMT

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

Yusaku Sako commented on AMBARI-7325:
-------------------------------------

[~dfj]
There's an option in "ambari-server setup" to set which user to run the ambari-server daemon
as (this user specified does not need to be root/sudo user).


> ambari-server needs to run as root
> ----------------------------------
>
>                 Key: AMBARI-7325
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7325
>             Project: Ambari
>          Issue Type: Improvement
>          Components: ambari-server
>    Affects Versions: 1.6.1
>            Reporter: David Jorm
>              Labels: security
>
> ambari-server needs to run as root. Is this necessary? By running as root, it means that
an attacker able to exploit a flaw in ambari can take complete control of the server.
>     $ ambari-server start
>     /usr/sbin/ambari-server: line 53: /var/lib/ambari-server/ambari-env.sh: Permission
denied
>     Using python  /usr/bin/python2.6
>     Starting ambari-server
>     ERROR: Exiting with exit code 1. 
>     REASON: Unable to start Ambari Server as user dfj. Please either run "ambari-server
start" command as root, as sudo or as user "root"



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

Mime
View raw message