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

Preventing execution of perl scripts in /tmp dierctory

Dear List,

I do have following directories in a Debian sarge machine. /tmp /var/tmp /dev/shm. The following is the fstab details

/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 error.
But now I woud like to prevent compiling of scripts here like , prompt#perl test.pl. How can I do it?

Please help,Thanks in advance.


Reply to: