Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Feb 2017 10:22:48 -0500
From:      "James B. Byrne" <byrnejb@harte-lyne.ca>
To:        FreeBSD-questions@freebsd.org
Subject:   hardening /tmp
Message-ID:  <687643e26aeb858b3b5d9f5693829360.squirrel@webmail.harte-lyne.ca>

next in thread | raw e-mail | index | archive | help
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@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?687643e26aeb858b3b5d9f5693829360.squirrel>