User Setup
-
3. Setting Up User
After to Add nagios User and Groups
Create the nagios User:sudo useradd nagios
Make the nagios Group:
sudo groupadd nagios
Add the nagios user to the group:
sudo /usr/sbin/usermod -G nagios nagios
Create a new nagcmd group for allowing external commands to be submitted through the web interface:
sudo groupadd nagcmd
Add both the nagios & apache users to the Group:
sudo usermod -a -G nagcmd nagios
sudo usermod -a -G nagcmd www-data
Contents