[Pkg-nagios-devel] Bug#606951: nsca: starts under user nobody instead of nagios

Rene Koch (DiTech Zentrale) rko at ditech.at
Mon Dec 13 09:55:23 UTC 2010

Package: nsca
Version: 2.7.2+nmu1
Severity: critical

nsca 2.7.2+nmu1 is starting under user nobody, as --chuid nobody is set in /etc/init.d/nsca:
SSD_START="start-stop-daemon --start  --chuid nobody --oknodo -S $SSD_STARTOPTS --exec $DAEMON"

When this option is set, the nsca_user option in /etc/nsca.cfg will be ignored.
Furthermore nsca can't write into Nagios command file, as user nobody doesn't has suitable permissions.

The correct SSD_START option in /etc/init.d/nsca must be:
SSD_START="start-stop-daemon --start  --oknodo -S $SSD_STARTOPTS --exec $DAEMON"

System information:
Debian squeeze/sid
Kernel: 2.6.32-5-amd64 #1 SMP.

Rene Koch

More information about the Pkg-nagios-devel mailing list