Thanks for helping me through this eanfrid
believe I am settling in on this code:
Code: Select all
tmpfs /tmp tmpfs noatime,nodev,mode=1777 0 0
tmpfs /var/lock tmpfs nodev,nosuid,noatime,mode=1777 0 0
tmpfs /var/run tmpfs nodev,nosuid,noatime,mode=755 0 0
I left out the 'nosuid' as you mentioned that
eanfrid wrote:
"nosuid" and "noexec" are security hardening options, they are not required.
Also regarding:
eanfrid wrote:
So if you let /tmp have "exec" properties, the right fstab line would be:
Code: Select all
tmpfs /tmp tmpfs noatime,nodev,nosuid,mode=1777 0 0
Why would I want /tmp to have "exec" properties?
Regarding swappiness=0 . . . I came across this
Rudolph Allenmeier
echo “vm.swappiness=0″|sudo tee -a /etc/sysctl.conf
Bad bad kitten! *shakes his head to Fran in a dismissive manner
Srsly you shouldn’t change swapiness unless you know what this will do to your kernel logic.
Found it here:
http://www.mabishu.com/blog/2012/12/14/ ... d-systems/
Comments?
Lastly, it was in that last link that they included this as well:
Code: Select all
tmpfs /var/spool tmpfs defaults,noatime,mode=1777 0 0
Your thoughts on this?
I realize I am probably asking a lot here, and part of it is that I am still learning what each one of those locations "Do".
Again, thanks for the help!