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

Re: Preventing execution of perl scripts in /tmp dierctory

yep, if you somehow forbid perl at all and then publish several wrappers for the allowed scripts.

but as far as i know, TPE is about executables (for example, the perl executable itself) and has nothing to do with the text files some interpreter might read.

Jakub Ambrozewicz wrote:
Dnia 05-06-2007, wto o godzinie 14:32 +0530, BipinDas napisał(a):
/dev/tmpMnt /tmp ext2 loop,noexec,nosuid,rw,nodev 0 0
none /dev/shm tmpfs noexec,nosuid,nodev 0 0

No body can execute perl/shell scripts here with 755 permission . when
give command like this prompt# ./test.pl , it gives permission denied
But now I woud like to prevent compiling of scripts here like ,
prompt#perl test.pl. How can I do it?
I think grsecurity has an option Trusted Path Execution that can be


Reply to: