[Mailinglist] Preventing execution of Perl scripts in /tmp /var/tmp /dev/shm Directories Howto ??
BipinDas
bipindas.k at ditro.com
Tue Jun 5 17:44:13 IST 2007
Dear List,
I am a usual reader of this list. But new to post a doubt.
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?
Sorry If I made a wrong post here also for my bad english.
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ilug-cochin.org/pipermail/mailinglist_ilug-cochin.org/attachments/20070605/10745ef8/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diro_signature.png
Type: image/png
Size: 11479 bytes
Desc: not available
Url : http://ilug-cochin.org/pipermail/mailinglist_ilug-cochin.org/attachments/20070605/10745ef8/attachment.png
More information about the Mailinglist
mailing list