In light of the recent heartbleed ugliness, I have been asked if we must run our (open source) chef servers as root, or if they can be run as a non-privileged user?
It wouldn't be a ton of work to update those configuration recipes to run
the services as another user (chef-server, for instance) or even create a
user per-service for segregation. Additionally, the Chef Server API listens
on ports 80 and 443, which both require root privileges to bind to.
In light of the recent heartbleed ugliness, I have been asked if we must
run our (open source) chef servers as root, or if they can be run as a
non-privileged user?
If so, is there documentation for how to do it?
--
Stephen Corbesero, DevOps Engineer
Synchronoss - Mobile Innovation for a Connected World
Hmm, I see our Chef 10 server processes running as "chef" user and our
Chef 11 running as "chef_server" user. I don't see root user running
any Chef Server processes anywhere.
In light of the recent heartbleed ugliness, I have been asked if we must
run our (open source) chef servers as root, or if they can be run as a
non-privileged user?
If so, is there documentation for how to do it?
--
Stephen Corbesero, DevOps Engineer
Synchronoss - Mobile Innovation for a Connected World