Does chef nodes need to have admin privileges?


#1

Hi Team

I was working in an open environment so far. Now I need to setup Chef in a closed environment (By closed environment I mean; an environment which works behind proxy and the environment in which we usually do not get root access). My doubt is, Is it necessary to have root privileges in node servers in order to install agents and operate via chef?

Thanks and Regards
Manish Mehra


#2

A lot of resource within chef depend on being root (service control, mount points, etc.).

Not being able to launch chef with sudo drastically restrict what you can do in your recipes at end.


#3

Thanks @Tensibai .