shinken-solutions / shinken

Flexible and scalable monitoring framework
http://www.shinken-monitoring.org
GNU Affero General Public License v3.0
1.13k stars 336 forks source link

Cannot call the additional groups setting with initgroups #1926

Open M4rotte opened 7 years ago

M4rotte commented 7 years ago

Hi,

I have the following warning for all the shinken daemons :

WARNING: [Shinken] Cannot call the additional groups setting with initgroups (Operation not permitted)

I’m starting shinken with user "shinken" (not root…). What additional privileges my user needs to do this (additional groups setting ?!) ?

OS is Debian (Sid)

geektophe commented 6 years ago

Hi, sorry for the delay. You have to start shinken as root user. It takes care to drop privileges on its own.

You can configure the user and group you want it to run under using the shinken_user and shinken_group in the main configuration file.