Runs as root if user doesn't exist

Erek Dyskant erek at nbtsc.org
Sun Mar 20 21:20:24 CET 2005


Hi All,
	If you start Nagios as root, normally it drops down to
the priveledges of you user you specify in nagios.cfg.
	However...If that user doesn't exist, it continues running as
root.
	Maybe a better behavior would be to refuse to start at all?  I'd
rather have it not run at all than run as root without my explicitly
telling it to.
	My two cents.

Regards,
Erek Dyskant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20050320/8088e5be/attachment.sig>


More information about the Developers mailing list