Here's a how to about the users management under Nagios. For Example when we want that the user user1 has access to a ressource.
root@host:~# htpasswd /etc/nagios3/htpasswd.users user1
define_contact { #####Contact definition } define_contactgroup { #####We indicate access }
Contact :