Re: [Nagios-devel] readonly user for cgis

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] readonly user for cgis

Post by Guest »

This message is in MIME format.

---MOQ1061561978983db5a6d31950be1d75f44b2d03e8b5
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Here is a tar with the original files I started with, the new files and t=
he=20
diff's.

Ethan, You may want to work this into the current code base.

Using this info.

In cgi.cfg you have two new config options.

authorized_for_commands=3D
authorized_for_comments=3D

So you can now add someone as authroized_for_all_hosts but not add them t=
o the=20
two new options and then they will see all hosts but not comments or the=20
commands pages.

Let me know if you have any problems.

Quoting Dietmar Ruzicka :

> Hi Derrick,
>=20
> I cannot find the diff's in the list. Would you please send them to me.
>=20
> Thanks
>=20
> Dietmar
>=20
>=20
> On Wed, 6 Aug 2003, local.coder wrote:
>=20
> > I have this change.
> >=20
> > I should submit it. really.
> >=20
> > In the config file I have two new options. readonly and
> readonly_for_all_hosts.
> > That's for managers who need to see but not touch.
> >=20
> > Now my version also hides comments from read only users so the noc ca=
n be
> more=20
> > free in what they type there.
> >=20
> > I will send the diff's to the list tommorow when I am back in the off=
ice.
> >=20
> > Derrick
> >=20
>=20
>=20



---MOQ1061561978983db5a6d31950be1d75f44b2d03e8b5
Content-Type: application/octet-stream; name="read.auth.nagios.tar"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="read.auth.nagios.tar"

YXV0aC8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAwNDA3NTUAMDAwMDAw
MAAwMDAwMDAxADAwMDAwMDAwMDAwADA3NzIxNDIxNjU2ADAwMTIxNzQANQAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAA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ZSBmb3IgbW9yZSBkZXRh
aWxzLgogKgogKiBZb3Ugc2hvdWxkIGhhdmUgcmVjZWl2ZWQgYSBjb3B5IG9mIHRoZSBHTlUgR2Vu
ZXJhbCBQdWJsaWMgTGljZW5zZQogKiBhbG9uZyB3aXRoIHRoaXMgcHJvZ3J

...[email truncated]...


This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked