hardening /tmp

James B. Byrne byrnejb at harte-lyne.ca
Wed Feb 8 15:22:59 UTC 2017


How do most people handle hardening /tmp and /var/tmp on FreeBSD?  I
can get rid of /tmp from the file system and then simply mount it as a
tmpfs in /etc/fstab.

tmpfs         /tmp        tmpfs   rw,nosuid,noexec,mode=01777 0     0

However, /var/tmp is supposed to survive across reboots so how is this
handled?


-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3



More information about the freebsd-questions mailing list