How To Know If Tmp Is Noexec

Aug 29, 2007

how to check if the tmp is mounted as noexec?

View 9 Replies


ADVERTISEMENT

Noexec On /home

Feb 3, 2007

I set /tmp partition with noexec, but not /home do you think it's a good idea to do so?

I belive it won't break perl/php scripts (maybe just those being directly called as an executable on CRON) anyone know any cons for that?

View 2 Replies View Related

PHP Work With Noexec Partition As Cgi And Others Cant

Jun 26, 2008

I have webserver running php with apache suexec and my /home partition is mounted with noexec in fstab.

My httpd.conf includes line like
Action application/x-httpd-php5.cgi /cgi-sys/php5.cgi
AddHandler application/x-httpd-php5.cgi .php

everything works perfectly. However I tried same configuration for python and perl and it did not work. But it worked if I mounted /home without noexec.

What makes php so special that it can work with noexec partitons as cgi while others cant? I would really like to know as I would like to run perl and python with noexec partitons.

Please dont discuss alternatives to noexec flag. This would be off topic.

View 2 Replies View Related

Unable To Mount /tmp Folder With Noexec!

Aug 10, 2008

I have successfully mounted the /tmp folder with noexec option. but whenever I reboot the server, It looses the mounted device.. why is that?

using following command to mount
mount -o loop,noexec,nosuid,rw /dev/tmpMnt /tmp

I have added the following line to /etc/fstab
/dev/tmpMnt /tmp ext2 loop,noexec,nosuid,rw 0 0

server : CentOs 5.x

View 12 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved