This is correct and I expect this part to work. But all the tools bypass this security. For example, If you run an sla report, it builds a new directory structure and hence the user that ran the report can see everything from the top level down. Also, the enable/disable menu option lets you see all hosts, same with findhost or even if you muck around with the hostsvc URL.
<br><br>I was wondering if there was some way of either wrapping this functionality with something that restricts the hosts (like as if bbhostgrep is used as the input to all these functions or something).<br><br>Has anyone achieved this or is it not possible without changing the source?
<br><br>Phil<br><br><div><span class="gmail_quote">On 16/11/2007, <b class="gmail_sendername">Iain Conochie</b> <<a href="mailto:iain@shihad.org">iain@shihad.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Josh Luthman wrote:<br>> With two groups of hosts you still only have one directory accessible<br>> by web.  This means Apache HTTP authentication is out of the question.<br>><br>> That's about all I can tell you =/
<br><br>Not necessarily!<br><br>You can use the PAGE statement in bb-hosts and then you have a new<br>directory for each page and sub-page underneath. You can then use apache<br>auth for that.<br><br>Then for the top level you can also use apache auth for admins
<br><br>Cheers<br><br>Iain<br><br>><br>> On 11/15/07, *Phil Wild* <<a href="mailto:philwild@gmail.com">philwild@gmail.com</a><br>> <mailto:<a href="mailto:philwild@gmail.com">philwild@gmail.com</a>>> wrote:
<br>><br>>     No, not quite, I want to make a single hobbit install work for two<br>>     groups of users, and I don't want group A to have any access to<br>>     see or do anything to Group B hosts and vice versa.
<br>><br>>     I am tryingto find out if there is a way of restricting the<br>>     reports/tools/executables to only run against a subset of the<br>>     hosts defined in bbhosts say like using bbgrep to filter on a tag
<br>>     or something for all functions.<br>><br>>     Any ideas?<br>><br>>     Phil<br>><br>><br>>     On 16/11/2007, *Josh Luthman* < <a href="mailto:josh@imaginenetworksllc.com">josh@imaginenetworksllc.com
</a><br>>     <mailto:<a href="mailto:josh@imaginenetworksllc.com">josh@imaginenetworksllc.com</a>>> wrote:<br>><br>>         The default Apache configuration that Hobbit makes for you<br>>         will specify requiring HTTP logins for the cgisec directory.
<br>>         Is this what you're looking for?<br>><br>><br>>         On 11/14/07, * Phil Wild* <<a href="mailto:philwild@gmail.com">philwild@gmail.com</a><br>>         <mailto:<a href="mailto:philwild@gmail.com">
philwild@gmail.com</a>>> wrote:<br>><br>>             Hello,<br>><br>>             I am looking at setting up hobbit to manage two groups of<br>>             hosts. I would prefer to just deploy one hobbit
<br>>             installation for both groups. For most of the hobbit web<br>>             pages, Apache security solves a lot of the browsing issues<br>>             but the cgi-bin executables and menus are the problem.
<br>><br>>             I want to make sure one group don't have access to see or<br>>             make changes to the other groups hosts.<br>><br>>             The areas I see a problem with are:<br>>
<br>>             hobbit-enadis.sh<br>>             bb-findhost.sh<br>>             hobbit-confreport.sh<br>><br>>             I would like to restrict the above to only work with a<br>>             subset of hosts (perhaps a tag in the bbhosts file)
<br>><br>>             The reports generate web pages on the fly and drop the<br>>             user at the top level page which is not what I would<br>>             prefer (each group have their own top level page etc.)
<br>><br>>             All nongreen view is also an issue<br>><br>>             and lastly, manually modifying the URL based on<br>>             bb-hostsvc.sh to get to a web page for a host in the other<br>
>             groups list is also a problem.<br>><br>>             Any ideas how I can address this?<br>><br>>             Thanks<br>><br>>             Phil<br>><br>><br>><br>><br>>         --
<br>>         Josh Luthman<br>>         Office: 937-552-2340<br>>         Direct: 937-552-2343<br>>         1100 Wayne St<br>>         Suite 1337<br>>         Troy, OH 45373<br>><br>>         Those who don't understand UNIX are condemned to reinvent it,
<br>>         poorly.<br>>         --- Henry Spencer<br>><br>><br>><br>><br>>     --<br>>     Tel: 0400 466 952<br>>     Fax: 0433 123 226<br>>     email: <a href="mailto:philwild@gmail.com">
philwild@gmail.com</a> <mailto:<a href="mailto:philwild@gmail.com">philwild@gmail.com</a>><br>><br>><br>><br>><br>> --<br>> Josh Luthman<br>> Office: 937-552-2340<br>> Direct: 937-552-2343<br>
> 1100 Wayne St<br>> Suite 1337<br>> Troy, OH 45373<br>><br>> Those who don't understand UNIX are condemned to reinvent it, poorly.<br>> --- Henry Spencer<br><br><br>To unsubscribe from the hobbit list, send an e-mail to
<br><a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br><br><br></blockquote></div><br><br clear="all"><br>-- <br>Tel: 0400 466 952<br>Fax: 0433 123 226<br>email: <a href="mailto:philwild@gmail.com">
philwild@gmail.com</a>