setuid bit missing on check_icmp

Bug #209687 reported by Julius Bloch
4
Affects Status Importance Assigned to Milestone
nagios-plugins (Ubuntu)
Invalid
Low
Unassigned

Bug Description

I have installed nagios2 on ubuntu 7.10.
I am using check_icmp for PING checks. In the default installation the writes for the check_icpm in /usr/lib/nagios/plugins/ are wrong. The check_icmp binary needs chmod +s, because it works with raw sockets.
The default rights are only:
 ls -la check_icmp
-rwxr-xr-x 1 root root 30524 2007-10-22 16:17 check_icmp

dpkg -l nagios-plugins-basic
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Beschreibung
+++-=================================-=================================-==================================================================================
ii nagios-plugins-basic 1.4.8-2.1ubuntu1.1 Plugins for the nagios network monitoring and management system

Revision history for this message
Kjell Braden (afflux) wrote :

Confirmed in hardy's 1.4.11-1ubuntu1.

Changed in nagios-plugins:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Adam Buchbinder (adam-buchbinder) wrote :

It's this way on purpose (also for check_dhcp). See /usr/share/doc/nagios-plugins/README.Debian. If you want to be able to run these checks, you can set the proper permissions override, as described in the readme, using dpkg-statoverride. The plugins are shipped as a safe default so as not to install an SUID-root binary unless the administrator explicitly enables it.

Changed in nagios-plugins (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.