[Nagiosplug-help] root-permissions for check_icmp
Andreas Ericsson
ae at op5.se
Fri Apr 29 07:52:35 CEST 2005
Riddle wrote:
> check_icmp would be the best service for me, but as nagios/apache
> user in non-root group (on freebsd) I get "Failed to obtain ICMP
> socket: Permission denied"
>
> I need to know the simple trick to get check_icmp to have root
> permission.
>
> I have no sudo, setsuid nor can I run under root.
>
chown root:nagios check_icmp
chmod 4750 check_icmp
You have to make sure that check_icmp doesn't reside on a disk that's
mounted with the nosuid option.
Simple enough? ;)
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
More information about the Help
mailing list