-
Notifications
You must be signed in to change notification settings - Fork 66
sudo still not working #15
Comments
@JensErat to make this work I did the following:
Then added the zabbix sudoer file at
The above is too permissive but I just wanted to see it running. It should be changed to something like
Let me know your thoughts and will push a feature branch. |
By the way, thinking deeper about Zabbix, sudo and nmap I stumbled over a post Reminder of why we don't suid root binaries that read/write to the filesystem., and I wouldn't be sure that this changed to a reasonable amount until today. I decided not to give Zabbix root privileges, neither general nor through nmap. For a Zabbix _developer setup providing these might be very well fine, though. |
@JensErat thanks for the link! So I am i'm thinking of two options:
|
You could also dump scripts somewhere for enabling such potentially insecure configurations, and document running this if somebody wants to use sudo and nmap. |
@JensErat I can keep |
Reopening the issue. Per the discussion above we will not enable the |
I have a similar problem (zabbix24-agent-2.4.4) after update |
@Surf-Tracer is that issue related with this image? |
@berngp Sorry I do not know. I think something yes |
Although
sudo
has been added to resolve some issues with "actions that require sudo", it still does not seem to work.I guess that either it has to be linked somewhere Zabbix is looking for it, or at least the zabbix user added to the sudoers group (however it is called in centos).
How to reproduce
Expected output
Result of operation, probably by running nmap or similar tools.
Actual output
Error message:
The text was updated successfully, but these errors were encountered: