Grant view access but no change access

Marc Powell marc at ena.com
Wed Jan 31 15:42:18 CET 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of JS
> Sent: Wednesday, January 31, 2007 7:44 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Grant view access but no change access
> 
> Hi list,
> 
> 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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list