Support Questions
Find answers, ask questions, and share your expertise

Running Ambari as root or non-root user. What is a good practice ? Any experiences will greatly be appreciated.

Running Ambari as root or non-root user. What is a good practice ? Any experiences will greatly be appreciated.

New Contributor
 
3 REPLIES 3

Re: Running Ambari as root or non-root user. What is a good practice ? Any experiences will greatly be appreciated.

New Contributor

In a stable, production environment, it is best to run it as a non-root user when you have all the ACLs sorted out. However, during installation and implementation, you will invariably need root access. I have gone into many consulting situations at a client where they did not want to give us root access and it really slowed down our work. Hope this helps. Good luck!

Re: Running Ambari as root or non-root user. What is a good practice ? Any experiences will greatly be appreciated.

New Contributor

Thank you @Steve Gonzales.

If you have all the required sudo privileges, will it be still better to run it as non-root user ? Do we have any other benefits? Did you face any issues with respect to product functionality and technically when we run it as non-root? I am just trying to find out if it is only a matter of security and access or any other ?

Re: Running Ambari as root or non-root user. What is a good practice ? Any experiences will greatly be appreciated.

Explorer

@Bas Madala , It is better to run ambari it under separate non-root account. Non root account should have capabilities mentioned which is required to run Ambari.

Regards,

Fahim