From: Marc P. <ma...@en...> - 2007-01-31 14:42:23
|
> -----Original Message----- > From: nag...@li... [mailto:nagios-users- > bo...@li...] On Behalf Of JS > Sent: Wednesday, January 31, 2007 7:44 AM > To: nag...@li... > Subject: [Nagios-users] Grant view access but no change access >=20 > Hi list, >=20 > Is there a way to grant a user of group the right to view the status of > services and hosts but not giving them the right to start/stop services > or to change anything else. Not within nagios. I imagine that you could use .htaccess to only allow access to cmd.cgi for specific users or groups. Something like -- AuthName "Monitor System Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users AuthGroupFile /usr/local/nagios/etc/htpasswd.groups require valid-user <FilesMatch "(cmd.cgi|someother.cgi)"> require group admins </FilesMatch> htpasswd.groups contains -- admins:bill,bob,fred |