Page 1 of 1
creating another account in nagios core to access
Posted: Tue Feb 11, 2014 3:35 pm
by amjedlk
could anyone please help me to create another user account to access nagios .
default what we using nagiosadmin now i need to create another account with same privileges
Re: creating another account in nagios core to access
Posted: Tue Feb 11, 2014 4:24 pm
by jsmurphy
The below steps are for a default set up but they are rather simple so you should be able to work it out easy enough if you've changed some stuff:
htpasswd2 -c /usr/local/nagios/etc/htpasswd.users <new_username>
service apache2 restart
vi /usr/local/nagios/etc/cgi.cfg
change the following lines:
authorized_for_system_information=nagiosadmin,<new_username>
authorized_for_all_hosts=nagiosadmin,<new_username>
save
service nagios restart
That's all there is to it! The first steps are adding a valid apache user and the cgi.cfg steps configure the permissions within Nagios for that user.
Re: creating another account in nagios core to access
Posted: Tue Feb 11, 2014 5:31 pm
by slansing
Awesome, thanks for the help jsmurphy. Amjedlk, if you have any further questions feel free to ask!