Skip to main content
Question

Sudoers alias duplicate

  • March 25, 2026
  • 1 reply
  • 8 views

Hi,

[root@centreonpollerorcentral sudoers.d]# grep User_Alias /etc/sudoers.d/*[Cc]entreon*
/etc/sudoers.d/centreon:User_Alias      CENTREON=%centreon
/etc/sudoers.d/centreon-gorgone:User_Alias      GORGONE=centreon-gorgone
/etc/sudoers.d/centreon-plugins:User_Alias      CENTREON_COLLECT_USERS=centreon-engine,centreon-gorgone
/etc/sudoers.d/sudoersCentreonLinuxPlugins:User_Alias      CENTREON_COLLECT_USERS=centreon-engine,centreon-gorgone



It raises a warning from sudo, also, what’s this sudoers entry for?
 

1 reply

Forum|alt.badge.img+12

Hello, if you could share us the warning that you get that would help us diagnose your issue.

As per what the sudoers file is for, what i see mostly is the actions run by the centreon user to restart services like the centengine and the cbd. Those actions are run mostly when you export and reload the centreon poller configurations.

I also saw since a few updates that all the actions related to internal services used by plugins (like the vmware service) are also part of the file. Probably so they can also be restarted from the centreon app.

If you have more questions please share precisions.