<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>i.n.s.i.g.h.t.s &#187; Read Only Users</title>
	<atom:link href="http://intuitinnovations.com/blog/archives/tag/read-only-users/feed" rel="self" type="application/rss+xml" />
	<link>http://intuitinnovations.com/blog</link>
	<description>intuit teamlog, pictures, videos</description>
	<lastBuildDate>Fri, 02 Jul 2010 07:05:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Nagios Read Only User</title>
		<link>http://intuitinnovations.com/blog/archives/14</link>
		<comments>http://intuitinnovations.com/blog/archives/14#comments</comments>
		<pubDate>Tue, 11 Aug 2009 10:05:32 +0000</pubDate>
		<dc:creator>Sanjay Willie</dc:creator>
				<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Read Only Users]]></category>

		<guid isPermaLink="false">http://intuitinnovations.com/blog/?p=14</guid>
		<description><![CDATA[By default your Nagios user will have full access to the web interface. This mean, he/she can do just about anything like stopping checks etc. 
Here&#8217;s a quick guide on how to enable read only user access for your nagios web interface. 


Nagios 3 (may work for 2, please try, if it works, pls post [...]]]></description>
			<content:encoded><![CDATA[<p align="left">By default your Nagios user will have full access to the web interface. This mean, he/she can do just about anything like stopping checks etc. </p>
<p align="left">Here&#8217;s a quick guide on how to enable read only user access for your nagios web interface. </p>
<ol>
<li>
<div align="left">Nagios 3 (may work for 2, please try, if it works, pls post a comment) </div>
</li>
<li>
<div align="left">Apache2 </div>
</li>
<li>
<div align="left">Debian 3 </div>
</li>
<li>
<div align="left">Authentication on Nagios is enabled </div>
</li>
</ol>
<p align="left">You would need first to get hold of your htpasswd file for Nagios access. Normally found in /usr/local/nagios/etc. You then need to generate or use this page <a href="http://www.htaccesstools.com/htpasswd-generator/">http://www.htaccesstools.com/htpasswd-generator/</a> to generate a readonly user, for this guide, we will use the username rouser and password rouser. The website generate the following line which i will insert into a new line in the htpasswd file; </p>
<p align="left">rouser:$apr1$IHDhm/..$00whe0rH/Fn.c3YisUNV0/ </p>
<p align="left">Now, you can test access with that user already on your Nagios web screen. You will notice, it doesn&#8217;t have any access to anywhere except for the static images/html in there. </p>
<p align="left">Now, simply edit your nagios cgi file normally found in /usr/local/nagios/etc. Look for the directive </p>
<p align="left">authorized_for_all_services=nagiosadmin    <br />authorized_for_all_hosts=nagiosadmin </p>
<p align="left">And add next to it using a comma, the user which you just created like below: </p>
<p align="left">authorized_for_all_services=nagiosadmin,rouser    <br />authorized_for_all_hosts=nagiosadmin,rouser </p>
<p align="left">Now, sign in again (shutdown your browser) with user rouser and password rouser. You now can see everything but cannot access commands therfore making it read-only. </p>
<p align="left">Now, if you want to make access specific for certain hosts only, then you need to match the user you create with the contacts definition files. So, user rouser can be rouser-switches for instance and now he/she see read only for switches. </p>
<p align="left">Try it out and let us know the outcome. </p>
]]></content:encoded>
			<wfw:commentRss>http://intuitinnovations.com/blog/archives/14/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
