--- In Kevin Cozens <> wrote:
>
> 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
why do you want to do this sort of thing via a web page rather than
the more usual ssh login?
obviously running apache as root is a very bad idea. Even if you have
no outside connection it clearly should not have acces to the whole
system.
if you really feel the need for a shutdown button, link it to a cgi
program owned by root and with suid bit set.
man chmod.
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/
|