Nagios rights pre fork

Bret Jordan bret.jordan at utah.edu
Sun Jun 1 22:02:24 CEST 2003


I have noticed that the user that runs the nagios server, nagios, needs 
to have a real shell defined in the /etc/passwd file instead of 
/sbin/nologin as the start up process is su-ing to the user nagios and 
touching several log files so that when the servers forks from root to 
nagios the files will be owned by nagios.  Is it possible to do what 
apache and others do and create the files after the fork process so that 
the user running nagios does not have to have a real shell?    


Bret


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bret Jordan                       Dean's Office
Computer Administrator   College of Engineering
801.585.3765                 University of Utah
            jordan at coe.utah.edu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list