096 - Anonymous Users

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
NetAdmin
Cacti User
Posts: 98
Joined: Wed Aug 30, 2006 8:45 pm

096 - Anonymous Users

Post by NetAdmin »

Howie,

Are anonymous users no longer allowed to view weathermaps? I have one weathermap that is set to be accessible by Anyone, and admin. Prior to 0.96, users could simply click on a URL (http://cacti-server/plugins/weathermap/ ... plugin.php) and view said map. In 0.96, users are seeing the "Access Denied" page. Just wondering if this is by design.

Thanks.

NetAdmin
colejv
Posts: 46
Joined: Wed Mar 19, 2008 10:50 am

Post by colejv »

Thanks for pointing this out I just noticed my anonymous users are getting access denied, the fix was easy enough though. I just added view weathermap to the guest account. I had noticed that the user permission were removed when I upgraded, I just forgot to change the guest account.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

Hmmm... user permissions were removed? That's not right.

I also noticed that on my other install, Weathermap shows up as a 'new style' plugin, which it shouldn't. These two are probably related :-?

My permissions on that install look fine though.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
NetAdmin
Cacti User
Posts: 98
Joined: Wed Aug 30, 2006 8:45 pm

Post by NetAdmin »

Thanks colejv! I should've looked there first, as it removed the permission on mine as well.

Howie, my weathermap plugin is showing up as Old Plugin Architecture under plugin management. Is that what you're referring to?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

NetAdmin wrote:Thanks colejv! I should've looked there first, as it removed the permission on mine as well.

Howie, my weathermap plugin is showing up as Old Plugin Architecture under plugin management. Is that what you're referring to?
No, that's what it should be doing. My Cacti install had some old data hanging around - I've fixed it now :-)

It shouldn't be removing permissions though.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
colejv
Posts: 46
Joined: Wed Mar 19, 2008 10:50 am

Post by colejv »

my question on this would be what happens when you try to load a plugin that apache does not have read access too, I tend to do things fast and then fix them (which is why I don't touch any language that requires compiling) , so I know loaded cacti with the weathermap files only having root:wheel read permissions.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

colejv wrote:my question on this would be what happens when you try to load a plugin that apache does not have read access too, I tend to do things fast and then fix them (which is why I don't touch any language that requires compiling) , so I know loaded cacti with the weathermap files only having root:wheel read permissions.
Who knows. But there are at least two users that will read the plugin folder: The one that runs apache, and the one that runs the poller. Weathermap itself has requirements for WRITE access to at least the output/ directory, as the poller user.

What's wrong with just doing it right?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests