Apache Ambari Security
Also available as:
loading table of contents...

Sudo Defaults - Ambari Server

Some versions of sudo have a default configuration that prevents sudo from being invoked from a non-interactive shell. In order for the agent to run it's commands non-interactively, some defaults need to be overridden.

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

If sudo is not properly set up, the following error will be seen when the "Configure Ambari Identity" stage fails:

sudo: no tty present and no askpass program specified

Server action failed