On Fri, Aug 18, 2006 at 01:13:49AM +0000, Douglas Maus wrote:
> I'd like to be able to remotely observe my server's hardware health.
> 

<snip>

> I saw the FAQ about chroot (www.openbsd.org/faq/faq10.html#httpdchroot)
> so I see the basics of what is required to move things into a chroot.
> 
> So I was hoping to get opinion on:
> 
> 1. Is there an easier way to remotely observe such hardware status?
> 
> 2a. Is NOT chroot such a bad security hole vs.
> 2b. would converting sysctl to a apache chroot setup be even feasible?
> (I'm guessing not even possible considering it accesses the kernel)
> 
> 3. To run raidctl, I have to sudo,
> since /dev/raid0a* permissions are crw-r-----
> Is there a better way to view the RAID status over the web, vs.
> what are the security risks of changing the permission of /dev/raid0*

There are probably a lot of ways to accomplish this. The first that
comes to mind is to schedule a cron job to put the information into the
chroot. It wouldn't be real-time, but it could be close.

-- 
Darrin Chandler            |  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |

Reply via email to