No executables in /tmp

Jason Holt jason at lunkwill.org
Sat Mar 25 15:45:08 MST 2006


On Sat, 25 Mar 2006, Jeff Schroeder wrote:
> ... won't run even if it's chmod 755.  However, it's still possible to
> do this:
>
> perl /tmp/myscript.pl
>
> ... and it'll run happily.  Can I prevent the system from allowing this?
> I suspect not, but figured I'd ask...

Yeah, that's a tough one, especially since they could do things like

perl < /tmp/myscript.pl

or even

perl `cat /tmp/myscript.pl`

 						-J



More information about the PLUG mailing list