Apache Ambari Security
Also available as:
PDF
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 
[Note]Note

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

stderr:
sudo: no tty present and no askpass program specified

stdout:
Server action failed