[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] OT? Mail to a script/program
- Subject: Re: [cobalt-users] OT? Mail to a script/program
- From: elmer@xxxxxxxxxxxxxx
- Date: Tue Jan 23 01:23:18 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
On Sat, 20 Jan 2001, rob@xxxxxxxx so wrote:
} >is alias.cgi set executable?
}
} Yes Jeff, alias.cgi is ok...
} If I try from a shell: perl /home/sites/site41/web/cgi-bin/alias.cgi
} it works.!
A script does not need to be executable for Perl to parse
it from the command line. While this does not seem like a very good
idea... as it would most certainly create a huge security hole in
that the owner of site41 could replace alias.cgi with all manner of
scripting and thusly quite easily exploit the box, I suspect that if
alias.cgi is capable of accepting some form of piped input (you
can't send an email message to a brick wall), that doing a chmod +x
on the script might end your problem. Then again, do you trust user
41 enough enough to all but hand them root access to your server?