Ambari Security Guide
Also available as:
PDF
loading table of contents...

Commands - Ambari Server

This section contains the specific commands that must be issued for standard server operations:

# Ambari Commands
ambari ALL=(ALL) NOPASSWD:SETENV: /bin/mkdir, /bin/cp, /bin/chgrp, /bin/chmod, /bin/chown, /bin/rm

To ensure that the configuration has been done properly, you can su to the ambari user and run sudo -l. There, you can double check that there are no warnings, and that the configuration output matches what was just applied.