Restricting user for accessing details of remote hosts
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Restricting user for accessing details of remote hosts
I am not quite sure what you are asking here, we have shown you how to configure this via assigning a user's contact to an object, or objects. At this time, that is really the only way to do this. Please show the output of what abrist asked so that we can verify if your user will have rights to see only what their contact is assigned to.
-
- Posts: 11
- Joined: Tue Mar 11, 2014 6:46 am
Re: Restricting user for accessing details of remote hosts
[root@nagios ~]# grep "authorized_for" /usr/local/nagios/etc/cgi.cfg
authorized_for_system_information=*
authorized_for_configuration_information=*
authorized_for_system_commands=*
authorized_for_all_services=*
authorized_for_all_hosts=*
authorized_for_all_service_commands=*
authorized_for_all_host_commands=*
#authorized_for_read_only=user1,user2
This the out put.
authorized_for_system_information=*
authorized_for_configuration_information=*
authorized_for_system_commands=*
authorized_for_all_services=*
authorized_for_all_hosts=*
authorized_for_all_service_commands=*
authorized_for_all_host_commands=*
#authorized_for_read_only=user1,user2
This the out put.
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Restricting user for accessing details of remote hosts
You will want to place their username/contact under:
And make sure that it is assigned to the objects you want them to view. Also, make sure that that line is uncommented, as it appears it is in your post.
Code: Select all
authorized_for_read_only=