Page 1 of 1

Start Nagios with different user

Posted: Wed Jul 31, 2013 7:44 am
by rp346
Hi Guys,

I recently installed Nagios Core. I want to know if I want to start Nagios with different user then how do I do that ?

Thanks
Roy

Re: Start Nagios with different user

Posted: Wed Jul 31, 2013 10:09 am
by yancy
rp346,

how about

Code: Select all

su YOUR_USERNAME -c "/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg"
-Yancy