noexec tmp directory

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



Hello,

I am fixing up  a system for someone and they did not make a separate 
partition for /tmp...but I want to make it noexec, nosuid.

I came across a site that said I could skip all the mount/unmount and 
new partition stuff (which would probably include downsizing a lvm to 
make room for it)... by adding this in fstab

/tmp  /tmp  bind  nosuid,noexec,bind  0  0

and then reboot...
There is no /tmp in their fstab at the moment and I am afraid to test 
this....
Is this a correct workaround to mount that folder as noexec?
OR was this site wrong?


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux