ts-7000
[Top] [All Lists]

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

To:
Subject: Re: [ts-7000] Re: Help apache server problem
From: "Rich Wilson" <>
Date: Sun, 17 Feb 2008 09:26:52 -0800
"test" can be a very bad name for a script! I've been very puzzled a couple
times when the shell test command replaced my script.

Rich

On Feb 9, 2008 4:16 PM, brianvandergaast <> wrote:

I have been experimenting with suid and am still having permission
problems.

lets say my script is called test and contains the following
touch /mnt/usb/testfile

what permisions should i see on that file if I ls -l test?
aka what -rw-r--r-- sequence should I see if I want that file to be
executable by all and have permissions of root during execution? and
that when I enter /test as non-root user the testfile is created
in /mnt/usb/



Cosmo

--- In ts-7000%40yahoogroups.com, "j.chitte" <> wrote:
>
> --- In ts-7000%40yahoogroups.com, Kevin Cozens <kevin@> 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.
>




--
Rich Wilson

425-337-7129 __._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<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