- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Which ambari-server commands MUST be run as root?
- Labels:
-
Apache Ambari
Created ‎10-15-2015 03:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am running the Ambari Server in a non-root environment as the ambari user. There are restricted sudo rules in place that limit the commands the ambari user can execute as root. Some of the ambari-server commands, such as adding a JDBC driver, will run as the ambari user. Other commands such as the setup-ldap option require root (sudo is this case) to run. I would rather update the sudo command list at once versus a case-by-case basis.
Created ‎10-15-2015 04:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey @terry@hortonworks.com, please use the following docs for the Ambari Agent sudo commands, but for flexibility sake I would add sudo rights to your non-root user for 'sudo ambari-server' so that future JAAS setup, or reconfiguration will be covered.
Created ‎10-15-2015 04:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey @terry@hortonworks.com, please use the following docs for the Ambari Agent sudo commands, but for flexibility sake I would add sudo rights to your non-root user for 'sudo ambari-server' so that future JAAS setup, or reconfiguration will be covered.
