[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: opinion on shell cgi scripts



On Mon, 01 Nov 2004 11:11:18 +0000, Gaby Vanhegan <gaby@vanhegan.net> wrote:

> Out of interest, what's wrong with using something like:
> 
> system( "my.script.sh" );
> 
> In some Perl CGI or PHP?  Unless you give the script SUID permissions,

You can't make scripts suid, only binaries.

> it's never going to be able to run as anything other than the apache user.

Which can  be very bad on a shared hosting account, especially when
every website is served by the very same apache instance.