ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Help apache server problem

To:
Subject: Re: [ts-7000] Re: Help apache server problem
From: Kevin Cozens <>
Date: Sat, 09 Feb 2008 16:30:03 -0500
brianvandergaast wrote:
> well, I need to produce a webpage that can have controls to
> delete/download/move files on the usb stick(on SBC) and have a
> control to shutdown the board. stuff like that. The board is used in
> a highly remote area where the only one within range of the wifi will
> be myself. Direction is much apreciated

Change the User/Group specified in the httpd.conf file. instead of running 
apache as nobody/nogroup, you could use root/root (unsafe). A safer option is 
to create a www group and set Group to www in the httpd.conf file.

For manipulation of the memory stick, mount the USB stick so it is part of 
                      group www and set the SGID bit. With the SGID bit set 
files created on the USB stick will be part of the www group so the web server 
can manipulate the files on the stick.

For higher level control over the system (ie. shutdown), a wrapper script with 
the needed perms should be used.

You need to decide how critical is the system and how well you need to protect 
  it. You should also consider requiring a user ID and password to gain access 
to the file and shutdown controls.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/           |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172      |"Same thing we always do, Pinkutus:
                                 |  Try to assimilate the world!"
#include <disclaimer/favourite> |              -Pinkutus & the Borg


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU