Re: Preventing execution of perl scripts in /tmp dierctory
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
> error.
> 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
helpful.
Regards,
--
Jakub Ambrozewicz
--
Opole - Miasto Bez Granic.
http://www.opole.pl - tu znajdziesz nowe miejsca, nowe mo¿liwo¶ci, nowe inspiracje...
Reply to: